Skip to content

Balance query

API TEST CONSOLE

Test request

TEST ONLY

Configure parameters and send a request to the test environment

POST/trade/merchant/balance

Authentication

Not configured

The private key is used only in your browser to generate authorization. It is never sent or stored.

Request headers

Request body application/json

Response

Response
After you send the request, the status, duration, and JSON response appear here.

Authentication details remain only in this page's memory and are not written to local storage.

Copying cURL does not send a request

POST/trade/merchant/balance

Request headers

Common request headers.

Request parameters

This endpoint has no business request parameters.

Request example

{}

Response parameters

FieldTypeRequiredMaximum lengthDescription
codeintYes-Status code; a value other than 200 indicates an error
dataObjectYes-Response body
data.totalAmountStringYes20Total amount
data.frozenAmountStringYes20Frozen amount
data.availAmountStringYes20Available balance
msgStringNo-Error message
tidStringYes-Trace ID

Response example

{
"code": 200,
"data": {
"totalAmount": "10000.00",
"frozenAmount": "100.00",
"availAmount": "9900.00"
},
"msg": "success",
"tid": "747bbf80261844ed85b809212aab0d81"
}