Skip to main content

Query Balance

Query platform wallet balance interface.

Request Information

  • Request URL: /gateway/api/v2/platforms/balance
  • Request Method: GET

Request Headers

ParameterTypeDescription
AuthorizationString{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

ParameterTypeDescription
error_codeStringError code
error_msgStringError message (returned when error_code is not "0000")
platform_idStringPlatform merchant ID
total_balanceIntTotal balance (cents)
total_frozen_balanceIntTotal frozen balance (cents)

Notes

  • authorization is the authorization token assigned by the system to the platform. If you haven't obtained one, please contact system personnel
  • Balance unit is Indiaese Dong (cents)