Skip to main content
POST
Buy a credit pack

Body

application/json
pack
string
required
email
string<email>
required
Pattern: ^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$
checkout_ui_mode
enum<string>
Available options:
hosted,
embedded

Response

Checkout link (checkout_ui_mode: "hosted", the default) or a Stripe Embedded Checkout payment_client_secret (checkout_ui_mode: "embedded") — a discriminated union keyed on checkout_ui_mode, never both.

status
string
required
Allowed value: "ok"
checkout_ui_mode
enum<string>
required
Available options:
hosted,
embedded
Allowed value: "hosted"
payment_url
string<uri>
required
payment_client_secret
string
Last modified on September 17, 2026