Billing

Retrieve your prepaid balance

Your organization's prepaid credit, the one each paid call on OZAV Services is charged to before it runs. Read it to stop before a call is refused with 402 INSUFFICIENT_CREDIT.

billing_mode: postpaid has no balance (balance: null): its calls are billed on the monthly statement (GET /statements). The credit belongs to the organization, so a test key reads the same balance; calls made with a test key are never charged.

get/billing/balance

Request

  • Base URL
    https://developers.ozav.io/v2
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Response

The balance.

object'billing_balance' required
billing_mode'prepaid' | 'postpaid' required
as_ofstring date-time required

Changes

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