Account
Wallet & Transactions
Read your wallet balance and transaction history, and preview a recharge.
Numbers and pay-as-you-go usage are charged to your wallet. Use these endpoints to read your balance, reconcile charges, and preview a recharge. Recharging itself is done in the dashboard under Billing → Wallet.
Get your balance
https://api.tryvox.io/v1/account/{auth_id}/balancecurl https://api.tryvox.io/v1/account/$TRYVOX_AUTH_ID/balance \
-u $TRYVOX_AUTH_ID:$TRYVOX_AUTH_TOKENdata is an array with one wallet per currency. To read one wallet, use /balance/{currency}, for example /balance/INR.
| Field | Description |
|---|---|
currency | Wallet currency |
current_balance | Balance in the wallet |
reserved_balance | Amount held for charges in progress |
promotional_balance | Promotional credit |
available_balance | Amount you can spend now |
credit_limit | Credit limit, when one applies |
low_balance_threshold | Your configured low-balance threshold |
effective_low_balance_threshold | The threshold in use: yours, or the system default |
is_low_balance | true when a prepaid wallet is at or below the threshold |
is_postpaid | true for a postpaid account |
status | Wallet status |
To see what a low balance means for calls, see Voice API prerequisites.
List transactions
https://api.tryvox.io/v1/account/{auth_id}/transactions| Parameter | Description |
|---|---|
type | debit, debit_promo, credit, reserve, or release |
status | pending, completed, failed, or cancelled |
reference_type | Filter by what the transaction relates to |
search | Free-text search |
start_date, end_date | RFC 3339 timestamps, for example 2026-11-01T00:00:00Z |
page, per_page | Page number, and page size up to 100 (default 20) |
curl "https://api.tryvox.io/v1/account/$TRYVOX_AUTH_ID/transactions?type=debit&per_page=50" \
-u $TRYVOX_AUTH_ID:$TRYVOX_AUTH_TOKENEach transaction has id, type, amount, currency, description, status, and created_at. Depending on the transaction, it can also have reference, reference_type, processed_at, and a call object with caller_number, destination_number, direction, billsec, and start_time.
Preview a recharge
Use these before sending a customer to recharge, so they see the minimum amount and the tax.
GET https://api.tryvox.io/v1/account/{auth_id}/payments/recharge/config
GET https://api.tryvox.io/v1/account/{auth_id}/payments/recharge/quote?amount=1000config returns currency, min_recharge_amount, gst_enabled, and gst_rate. quote returns the tax breakdown for amount, including wallet_credit, taxable_amount, total_tax, and total_payable. amount can have at most two decimal places.