Query merchant's account balance
Query merchant's account balance
- application/json
- application/xml
- application/x-www-form-urlencoded
Request Body required
Query merchant's account balance
- request_id string
Client request identity, using for tracing request
- app_id int64 required
The unique ID of the partner will be provided after the partner registered successfully with Zalopay
- payment_id string required
The unique ID of the partner will be provided after the partner registered successfully with Zalopay
- time int64 required
Requests timestamp in ms
- mac string required
It is a signature of the order. It’s calculated by following input: hmacInput = (app_id+ “|” + payment_id+ “|” + time) and use sha256 with app’s hmac key.
Please refer to secure data transmission for detailed information.
Request Body required
Query merchant's account balance
- request_id string
Client request identity, using for tracing request
- app_id int64 required
The unique ID of the partner will be provided after the partner registered successfully with Zalopay
- payment_id string required
The unique ID of the partner will be provided after the partner registered successfully with Zalopay
- time int64 required
Requests timestamp in ms
- mac string required
It is a signature of the order. It’s calculated by following input: hmacInput = (app_id+ “|” + payment_id+ “|” + time) and use sha256 with app’s hmac key.
Please refer to secure data transmission for detailed information.
Request Body required
Query merchant's account balance
- request_id string
Client request identity, using for tracing request
- app_id int64 required
The unique ID of the partner will be provided after the partner registered successfully with Zalopay
- payment_id string required
The unique ID of the partner will be provided after the partner registered successfully with Zalopay
- time int64 required
Requests timestamp in ms
- mac string required
It is a signature of the order. It’s calculated by following input: hmacInput = (app_id+ “|” + payment_id+ “|” + time) and use sha256 with app’s hmac key.
Please refer to secure data transmission for detailed information.
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- return_code integer
1 - SUCCESS
2 - FAIL
- return_message string
Return code description
- sub_return_code integer
-401 - Request param illegal
-402 - Unauthorized
-500 - Zalopay system error
-503 - The system is maintenance
- sub_return_message string
Sub return code description
data object
balance int64Partner’s account balance
{
"return_code": 0,
"return_message": "string",
"sub_return_code": 0,
"sub_return_message": "string",
"data": {
"balance": 0
}
}