Query Balance
Query platform wallet balance interface.
Request Information
- Request URL:
/gateway/api/v2/platforms/balance - Request Method:
GET
Request Headers
| Parameter | Type | Description |
|---|---|---|
| Authorization | String | {authorization} Authorization token assigned by the system to the platform |
Request Parameters
None
Response Example
Success Response
{
"error_code": "0000",
"data": {
"platform_id": "PF0060",
"total_balance": 200300,
"total_frozen_balance": 0
}
}
Error Response Example
{
"error_code": "0006",
"error_msg": "Invalid Authorization!"
}
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Error code |
| error_msg | String | Error message (returned when error_code is not "0000") |
| platform_id | String | Platform merchant ID |
| total_balance | Int | Total balance (cents) |
| total_frozen_balance | Int | Total frozen balance (cents) |
Notes
authorizationis the authorization token assigned by the system to the platform. If you haven't obtained one, please contact system personnel- Balance unit is Australiaese Dong (cents)