Balance Inquiry API
Tips
Balance Inquiry
Brief Description
Request URL
/v1/paypro/queryBalance
Request Method
- post
Header
Header | Required | Type | Description |
---|---|---|---|
merchantNo | y | string | no |
Request Body Parameters
Name | Required | Type | Desc |
---|---|---|---|
timestamp | Y | string | Timestamp |
sign | Y | string | Encrypt |
{
"timestamp": "1724151084278",
"sign": "8d1bdd4d9d6b642c6843464c72e6a5a1"
}
Response Parameters
Name | Required | Type | Desc |
---|---|---|---|
msg | yes | string | Request result (when success is returned, it only means that the request for this time is successful and cannot be used for merchant-side logical judgment) |
code | yes | string | Request response code (when 0000 is returned, it only means that the request for this time is successful, and cannot be used for merchant-side logical judgment). For specific status/error codes, please check the status/error code directory |
timestamp | yes | string | Timestamp๏ผ1715941383720๏ผ |
success | yes | string | Trading results |
data | yes | Object | Return object |
data.availablAmount | yes | string | Merchant balance |
data.freezeAmount | yes | string | Frozen amount |
data.unsettledAmount | yes | string | The amount to be settled, all receipts in the same day will be automatically settled into the available balance in D1 |
{
"msg": "success",
"code": "0000",
"timestamp": 1719830171485,
"success": true,
"data": {
"availablAmount": 9998989.0000,
"unsettledAmount": 0.0000,
"freezeAmount": 0.0000
}
}