Create credit checkout session

Creates a one-time Stripe Checkout Session for the selected credit quantity. Price and credit quantity are resolved server-side. Credits are granted only after the Stripe webhook confirms payment, not on the success redirect.

Path Params
string
required

The workspace (tag) ID

Body Params

Creates a one-time Stripe Checkout Session for the selected credit quantity. Price and credit quantity are resolved server-side. Credits are granted only after the Stripe webhook confirms payment, not on the success redirect.

string

Credit option ID

string

Optional ISO currency code

string

Optional customer email for Stripe

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json