v4

OpenAPI 3.1.02026-08-0255174167.5 KB
billing

Start a checkout to save a card

Returns an embedded Stripe Checkout clientSecret in setup mode. The customer enters card details in Checkout; on completion the card is saved to the account's Stripe customer for top-ups and subscription billing, and appears in paymentMethods on GET /api/v1/billing. Not available during impersonation.

post/api/v1/billing/payment-methods/setup

Headers

Authorizationstring required

Your Dial API key, sent as Authorization: Bearer sk_live_...

Request body

returnUrlstring uri

Where Checkout returns after completion. Defaults to the dashboard billing page.

Response

Embedded Checkout client secret.

clientSecretstring