Balance

Get balance for the API key's team. If the API key belongs to a sub-account, also includes the sub-account's total spending and credit limit.

get/v1/balance

Request

  • Base URL
    https://api.zavu.dev
  • URL
    https://api.zavu.dev/v1/balance
  • Auth
    HTTP bearer

Response

Balance details.

balanceinteger required

Team balance in cents. All charges are billed to the parent team.

currencystring required
creditLimitinteger nullable

Spending cap in cents (only for sub-accounts).

totalSpentinteger nullable

Total amount spent by this sub-account in cents (only for sub-accounts).

isSubAccountboolean

Whether this API key belongs to a sub-account.

Example response

{
  "currency": "usd"
}

Changes