Skip to main content

4. Balance

GET /api/v1/balance

Request

ParameterTypeRequiredDescription
X-API-KeystringYesAPI key.
X-TimestampstringYesRequest time.
X-SignaturestringYesHMAC-SHA256(secret, timestamp + body). For GET requests body is empty.

Example request

GET /api/v1/balance?shop_code=your_bdt_shop&currency=BDT

Response

Response fields

Monetary values are returned as decimal strings normalized by currency scale.

FieldDescription
currencyRequest currency.
shopSelected shop id and code.
as_ofSnapshot time.
balanceAlias of available kept for the current /api/v1/balance path.
availableSpendable merchant funds in the selected shop.
pendingReserved funds, including payout reserves.
frozenFrozen funds unavailable for spending.
creditSpendable credit bucket for payouts.
totalSum of available + pending + frozen + credit.
on_holdAmount on hold for payout transactions in active processing states.
bucketsFull bucket map: available, pending, frozen, credit.
pending_breakdownBreakdown of pending exposure. Currently includes payout_reserved.

Example response

{
"currency": "BDT",
"shop": {
"id": 42,
"code": "your_bdt_shop"
},
"as_of": "2026-05-19T12:00:00+03:00",
"balance": "98500.00",
"available": "98500.00",
"pending": "1500.00",
"frozen": "0.00",
"credit": "5000.00",
"total": "105000.00",
"on_hold": "1500.00",
"buckets": {
"available": "98500.00",
"pending": "1500.00",
"frozen": "0.00",
"credit": "5000.00"
},
"pending_breakdown": {
"payout_reserved": "1500.00"
}
}