Billing
Billing

Purchase credits with a saved card (agent auto-recharge)

Use a previously saved payment method to buy credits without a checkout redirect. Requires a prior checkout session to have saved a card. Designed for agent auto-recharge flows.

post/api/v1/billing/purchase-credits

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/purchase-credits
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Request body

creditsinteger required

Number of credits to purchase

Response

Successful Response

credits_purchasedinteger required
new_balanceinteger required
payment_statusstring required

Changes

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