curl https://checkout.noxpay.io/v2/balance \
-H "api-key: <key>"
import requests
response = requests.get(
"https://checkout.noxpay.io/v2/balance",
headers={"api-key": "<key>"},
)
print(response.json())
const response = await fetch("https://checkout.noxpay.io/v2/balance", {
headers: { "api-key": "<key>" },
});
const data = await response.json();
{
"calculated_BRL_total_balance": 1234.56,
"balances": {
"USDT": {
"calculated_BRL_balance": 500.00,
"USDT TRC20": {
"calculated_BRL_balance": 500.00,
"available": 100.00,
"in_transit": 10.00,
"to_receive": 5.00,
"blocked": 0.00
}
},
"BRL": {
"calculated_BRL_balance": 734.56,
"BRL": {
"calculated_BRL_balance": 734.56,
"available": 734.56,
"in_transit": 0.00,
"to_receive": 0.00,
"blocked": 0.00
}
}
}
}
Global Account
Balance
GET /v2/balance — retrieve your current account balance broken down by currency and sub-account.
curl https://checkout.noxpay.io/v2/balance \
-H "api-key: <key>"
import requests
response = requests.get(
"https://checkout.noxpay.io/v2/balance",
headers={"api-key": "<key>"},
)
print(response.json())
const response = await fetch("https://checkout.noxpay.io/v2/balance", {
headers: { "api-key": "<key>" },
});
const data = await response.json();
{
"calculated_BRL_total_balance": 1234.56,
"balances": {
"USDT": {
"calculated_BRL_balance": 500.00,
"USDT TRC20": {
"calculated_BRL_balance": 500.00,
"available": 100.00,
"in_transit": 10.00,
"to_receive": 5.00,
"blocked": 0.00
}
},
"BRL": {
"calculated_BRL_balance": 734.56,
"BRL": {
"calculated_BRL_balance": 734.56,
"available": 734.56,
"in_transit": 0.00,
"to_receive": 0.00,
"blocked": 0.00
}
}
}
}
Response 200 OK
Response fields
| Field | Type | Description |
|---|---|---|
calculated_BRL_total_balance | float | Approximate BRL-equivalent of every balance combined |
balances | object | Keyed by ticker (USDT, USDC, BTC, BRL), then by currency-and-network beneath it |
Sub-account buckets
Each currency entry breaks down into four buckets:| Field | Description |
|---|---|
available | Immediately withdrawable |
in_transit | In transit while a transaction is being processed |
to_receive | Expected to arrive from an ongoing transaction |
blocked | Frozen for chargebacks or compliance holds |
calculated_BRL_balance at the currency level is the BRL-equivalent sum of all sub-accounts for that currency.
The BRL figures are an approximation, not an executable quote. BRL converts at
1.0 and BTC at its own reference price, but every other currency is converted using the USD reference price. Use these values for display and reconciliation, never to size a trade — call Reference Quote for a real rate.The keys inside
balances are ledger account labels, not currency codes. They vary with account configuration and are not stable identifiers — do not key your own storage on them, and do not parse a currency code out of them. Use Statement’s account.currency when you need the code.Status codes
| HTTP | When |
|---|---|
200 | Success |
401 | Missing or invalid api-key |
500 | Internal error, including an account with no ledger set up yet |
500, not 404 or an empty balance.
curl https://checkout.noxpay.io/v2/balance \
-H "api-key: <key>"
import requests
response = requests.get(
"https://checkout.noxpay.io/v2/balance",
headers={"api-key": "<key>"},
)
print(response.json())
const response = await fetch("https://checkout.noxpay.io/v2/balance", {
headers: { "api-key": "<key>" },
});
const data = await response.json();
{
"calculated_BRL_total_balance": 1234.56,
"balances": {
"USDT": {
"calculated_BRL_balance": 500.00,
"USDT TRC20": {
"calculated_BRL_balance": 500.00,
"available": 100.00,
"in_transit": 10.00,
"to_receive": 5.00,
"blocked": 0.00
}
},
"BRL": {
"calculated_BRL_balance": 734.56,
"BRL": {
"calculated_BRL_balance": 734.56,
"available": 734.56,
"in_transit": 0.00,
"to_receive": 0.00,
"blocked": 0.00
}
}
}
}

