Skip to main content
POST
Purchase top-up
credits must be one of: 10000, 20000, 80000, or 100000 — that is 10K, 20K, 80K, or 100K credits.
For a guided overview, see Balance & billing.

Authorizations

Authorization
string
header
required

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

Body

application/json
credits
enum<integer>
required

Number of credits to purchase. Allowed values: 10,000, 20,000, 80,000, or 100,000.

Available options:
10000,
20000,
80000,
100000

Response

Payment succeeded.

success
enum<boolean>
Available options:
true
payment_intent_id
string

Stripe PaymentIntent id for the charge.

credits
integer

Credits purchased in this request.