Billing
Billing

Create a Stripe Checkout session

Start a Stripe Checkout flow to purchase credits. Returns a checkout_url to redirect the user (or open in a browser). The card is saved for future off-session purchases.

post/api/v1/billing/checkout

Request

  • Base URL: https://fermi.kromatic.com (the document declares no server; this is the origin it was published from)
  • URL: https://fermi.kromatic.com/api/v1/billing/checkout
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Request body

creditsinteger required

Number of credits to purchase

success_urlstring nullable
cancel_urlstring nullable

Response

Successful Response

checkout_urlstring required

Changes

No recorded changes to this operation across all 1 revision of this API.