Billing

Balance and account settings.

Check Balance

GET /v1/billing/accounts/balance
X-API-Key: dist_YOUR_KEY
{
  "balance_cents": 4523,
  "depleted": false
}

Get Account

GET /v1/billing/accounts
X-API-Key: dist_YOUR_KEY

Returns credit balance, auto-topup settings, and payment method status.

TypeScript Client

const balance = await client.getBillingBalance();
const account = await client.getBillingAccount();