Account

Get credit purchase options

GET /v1/account/billing/purchase-options
Permission
read:account
Tokens
API key, CLI user token, Session token

Read the smallest, largest, and suggested credit purchases, in millicents, and the platform fee. The fee is added to the credit amount and never reduces the credit granted.

{
"fee_fraction": float,
"max_amount": int,
"min_amount": int,
}

Response

fee_fractionnumberrequired

Platform fee added to purchased credit.

max_amountintegerrequired
min_amountintegerrequired
preset_amountsarray<integer>required

Suggested purchase amounts.

On this page

No Headings
Schedule a demo
For HumansFor Agents