{{BASE_URL}}/balanceGet wallet balance
Returns the authenticated shop wallet balance (available and held funds).
Request body
Send as application/json via POST to the endpoint above.
| Field | Type | Required | Description |
|---|---|---|---|
api_key | string | Yes | Shop API key issued by GamzTopup |
timestamp | integer | Yes | Unix timestamp in seconds; must be within ±5 minutes of server time |
signature | string | Yes | MD5 hex digest of `secret_key + timestamp` (no separator) |
{
"api_key": "ak_24276e47fb892460",
"timestamp": 1783321239,
"signature": "f7f4b12685a2a2b6bd18103fa4a24d27"
}Response
| Field | Type | Required | Description |
|---|---|---|---|
shop | string | No | Shop code |
currency | string | No | Wallet currency (e.g. THB) |
available | number | No | Spendable balance |
held | number | No | Funds reserved for in-flight orders |
{
"status": "success",
"message": "success",
"data": {
"shop": "demo",
"currency": "THB",
"available": 50000,
"held": 150
}
}