Create Billing Checkout

View as Markdown

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
amount_usddouble or nullOptional

Optional top-up amount in USD when mode=topup (defaults to configured minimum).

modestring or nullOptional

Requested checkout mode (subscription or topup).

plan_codestring or nullOptional
Required for subscription checkout.

Response

Stripe checkout session created
checkout_session_idstring
checkout_urlstring
stripe_customer_idstring