post
/{tenantId}/v1/billing/payment-methods/setup-intentsBegin a save-card flow
Requires Authentication
Billing
Payments
Returns a Stripe SetupIntent the portal hands to Stripe.js to collect
the card client-side. The resulting payment_method.attached webhook
persists the row server-side.
Path Parameters
| Name | Type | Description |
|---|---|---|
tenantIdrequired | string (uuid) | Tenant UUID |
Responses
SetupIntent created
Response Bodyapplication/json
setupIntentIdstring
required
clientSecretstring
required
Code Examples
curl -X POST 'https://api-next.checkio.co.uk/{tenantId}/v1/billing/payment-methods/setup-intents' \
-H 'Authorization: Bearer {token}'