Balance Inquiry API
Tips
Balance Inquiry
Brief Description
- None
Request URL
/v1/paypro/queryBalance
Request Method
- POST
Header
| Header | Required | Type | Description |
|---|---|---|---|
| merchantNo | Yes | string | None |
Request Body Parameters
| Name | Required | Type | Description |
|---|---|---|---|
| timestamp | Y | string | Timestamp |
| sign | Y | string | Encryption |
{
"timestamp": "1724151084278",
"sign": "8d1bdd4d9d6b642c6843464c72e6a5a1"
}
Successful Response
| Parameter | Required | Type | Description |
|---|---|---|---|
| msg | Yes | string | Request result (when "success" is returned, it only indicates the success of this request and cannot be used for merchant-side logical judgment) |
| code | Yes | string | Request response code (when "0000" is returned, it only indicates the success of this request and cannot be used for merchant-side logical judgment). For specific error codes, please refer to the business error code enumeration. |
| timestamp | Yes | string | Timestamp (e.g., 1715941383720) |
| success | Yes | string | Transaction result |
| data | Yes | Object | Returned object |
| data.availableAmount | Yes | string | Merchant balance |
| data.freezeAmount | Yes | string | Frozen amount |
| data.unsettledAmount | Yes | string | Pending settlement amount |
{
"msg": "success",
"code": "0000",
"timestamp": 1719830171485,
"success": true,
"data": {
"availableAmount": "9998989.0000",
"unsettledAmount": "0.0000",
"freezeAmount": "0.0000"
}
}
