Skip to main content

4. Balance

GET /api/v1/balance

Returns the balance of the selected EPT VND shop.

Request

ParameterTypeRequiredDescription
X-API-KeystringYesAPI key.
X-TimestampstringYesRequest time in ISO-8601 UTC format.
X-SignaturestringYesHMAC-SHA256 of timestamp + raw_request_body. The body is empty for GET requests.

Example request

GET /api/v1/balance?shop_code=your_ept_vnd_shop&currency=VND

Response

Monetary values are decimal strings normalized for the requested currency.

FieldDescription
currencyRequested currency (VND).
shopSelected shop ID and code.
as_ofBalance snapshot time.
balanceAlias of available kept for this endpoint.
availableSpendable merchant funds in the selected shop.
pendingTotal funds held for pending PayIn and PayOut operations.
held_payin_pendingPortion of pending held for PayIn operations.
payout_reservedPortion of pending reserved for PayOut operations.
frozenFunds unavailable for spending.
creditSpendable credit bucket for PayOut operations.
totalSum of all balance buckets.
on_holdAlias of payout_reserved.
bucketsFull bucket map.
pending_breakdownPending PayIn and PayOut amounts by bucket.
{
"currency": "VND",
"shop": {
"id": 42,
"code": "your_ept_vnd_shop"
},
"as_of": "2026-09-21T10:00:00+00:00",
"balance": "98500000",
"available": "98500000",
"pending": "1500000",
"held_payin_pending": "500000",
"payout_reserved": "1000000",
"frozen": "0",
"credit": "5000000",
"total": "105000000",
"on_hold": "1000000",
"buckets": {
"available": "98500000",
"pending": "1500000",
"frozen": "0",
"credit": "5000000"
},
"pending_breakdown": {
"payin_hold": "500000",
"payout_reserved": "1000000"
}
}

See API Errors for common error responses.