List available top-up amounts
GET /api/billing/checkout/amounts
Returns the configured top-up amount entries and currency for the authenticated account. Checkout creation is handled by POST /api/billing/checkout/topup.
Authenticate with a portal session token.
Responses
200 Configured top-up entries and currency for the authenticated account.
application/json object
amountsarray of object requiredEach item:
amount_centsinteger
currencystring required
Generated sample
{
"amounts": [
{
"amount_cents": 0
}
],
"currency": "string"
}401 Missing or invalid bearer token.
application/json object
Any keys are accepted.
403 The caller does not meet the route requirements: accepted Terms of Service and Privacy Policy.
application/json object
Any keys are accepted.
429 The request was rate limited. API-generated responses are JSON;
Response headers
Retry-Afterstring headerSeconds to wait before retrying, when provided.
X-RateLimit-Scopestring headerIdentifies the scope of the request limit, when provided.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string