Skip to main content

Billing

Billing endpoints are read-only and organization scoped.

Authentication & scope

  • Header: X-API-Key: YOUR_API_KEY
  • Required scope: billing:read
  • Use API Reference for interactive Try-it support.

GET /v1/billing/credit-history

Returns paginated credit usage history.

200 OK

Common status codes

  • 200 success
  • 400 invalid pagination/query
  • 403 missing billing:read
  • 500 server error

GET /v1/billing/transactions

Returns paginated transaction history (top-ups, charges, refunds) for the organization.

200 OK

Common status codes

  • 200 success
  • 400 invalid pagination/query
  • 403 missing billing:read
  • 500 server error

GET /v1/billing/plan

Returns the organization’s current plan and pricing metadata.

200 OK

Common status codes

  • 200 success
  • 403 missing billing:read
  • 500 server error

GET /v1/billing/currencies

Returns all currencies supported for billing and top-ups.

200 OK

Common status codes

  • 200 success
  • 403 missing billing:read
  • 500 server error