Get account balance
get_account_balanceRetrieve wallet balances for your Vobiz account, including available funds, reserved amounts, credit limit, postpaid status, and currency details; pass a currency to view one wallet.
Instructions
Return this account's wallet balance (GET /balance): balance, available_balance, reserved_funds, credit_limit, is_postpaid and status, per currency. Without currency every wallet is returned in balances (accounts can be billed in INR, USD or other currencies) and the first one is repeated as balance; with currency only that wallet is returned as balance. For the charges and top-ups behind the balance use list_transactions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currency | No | ISO 4217 code of one wallet, e.g. INR or USD (case-insensitive). Omit to return every wallet. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | True on success; false when the result is an error (then error, message and retryable are set). | |
| count | No | Number of wallets returned; present only when currency was omitted. | |
| balance | No | The requested wallet, or the first wallet when currency was omitted (null when the account has none). | |
| balances | No | Every wallet on the account; present only when currency was omitted. |