Account & billing / Add a payment method
Add a payment method
GET/v1/billing/setup-intents
Creates a Stripe SetupIntent so you can collect a card in your own UI. Confirm the returned client_secret with Stripe.js, then pass the resulting payment method id to Create subscription. Requires billing:write.
Response fields
client_secret
string
The SetupIntent client secret to confirm with Stripe.js.
GET/v1/billing/setup-intents
curl https://app.converly.io/api/v1/billing/setup-intents \ -H "Authorization: Bearer sk_live_…"
200 OK
{
"client_secret": "seti_1Nx…_secret_…"
}