v62

latestOpenAPI 3.1.0Dual (AGPL3.0, Commercial License Available)raw.githubusercontent.com2026-08-03211303932.5 KB
billing
internal

Finalize a client-confirmed SetupIntent (set the card as default)

post/api/billing/finalize-payment-method

Request body

setup_intent_idstring required

Stripe SetupIntent to attach as the organization's payment method.

Response

Payment method finalized

dataTupleUnit

No payload. Present only so the envelope keeps its shape.

errorstring nullable

Human-readable failure message. Omitted on success.

successboolean required

true when the request succeeded. false responses carry error instead of data.

Example response

{
  "meta": {
    "api_version": 1,
    "server_version": "0.17.7"
  }
}