Billing

Start saving a card (Stripe SetupIntent for inline Elements)

Returns the SetupIntent client secret the inline Elements form confirms. The dashboard's card form sends its device identification as the two optional query parameters, and the card save is judged on them: a device that puts the account on a verification hold gets 403 ACCOUNT_PENDING_VERIFICATION, or 403 VERIFICATION_UNAVAILABLE when the hold could not be recorded. The operation takes no request body, so a bare POST (the CLI, the MCP tool) is unchanged.

post/v1/orgs/{orgId}/billing/setup-intent

Path parameters

orgIdstring required

Query parameters

deviceFingerprintstring

Fingerprint visitor id from the dashboard's card form. Verified against deviceEventId before it is used.

deviceEventIdstring

Fingerprint event id of the identification that produced deviceFingerprint.

Response

SetupIntent client secret + publishable key

clientSecretstring required
publishableKeystring required

Changes