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

GEThttps://api.tryvox.io/v1/account/{auth_id}/balance
curl https://api.tryvox.io/v1/account/$TRYVOX_AUTH_ID/balance \
  -u $TRYVOX_AUTH_ID:$TRYVOX_AUTH_TOKEN

data is an array with one wallet per currency. To read one wallet, use /balance/{currency}, for example /balance/INR.

FieldDescription
currencyWallet currency
current_balanceBalance in the wallet
reserved_balanceAmount held for charges in progress
promotional_balancePromotional credit
available_balanceAmount you can spend now
credit_limitCredit limit, when one applies
low_balance_thresholdYour configured low-balance threshold
effective_low_balance_thresholdThe threshold in use: yours, or the system default
is_low_balancetrue when a prepaid wallet is at or below the threshold
is_postpaidtrue for a postpaid account
statusWallet status

To see what a low balance means for calls, see Voice API prerequisites.

List transactions

GEThttps://api.tryvox.io/v1/account/{auth_id}/transactions
ParameterDescription
typedebit, debit_promo, credit, reserve, or release
statuspending, completed, failed, or cancelled
reference_typeFilter by what the transaction relates to
searchFree-text search
start_date, end_dateRFC 3339 timestamps, for example 2026-11-01T00:00:00Z
page, per_pagePage 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_TOKEN

Each 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=1000

config 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.

On this page