Payment Query API
Tips
- All requests are
Post
requests, and the data format isjson
Brief Description
- None
Request URL
/v1/paypro/queryPayInResult
Request Method
- POST
Header
header | Required | Type | Description |
---|---|---|---|
merchantNo | No | string | None |
Request Body Parameters
Name | Required | Type | Description |
---|---|---|---|
tradeNo | Yes | string | Transactions requested by the business party |
sign | Yes | string | sign |
timestamp | Y | string | timestamp |
Request Example
{
"sign": "ac13b9abf95c66ffc4025abaaeeb3a83",
"timestamp": "1728613488294",
"tradeNo": "test_00000008"
}
Successful Response Example
Parameter | Required | Type | Description |
---|---|---|---|
msg | Yes | string | Request result (when returning success, it only indicates that the request was successful and cannot be used for merchant-side logic judgment) |
code | Yes | string | Request response code (when returning 0000, it only indicates that the request was successful and cannot be used for merchant-side logic judgment). For specific error codes, please refer to the business error code enumeration. |
timestamp | Yes | string | Transaction time |
success | Yes | string | Transaction result |
data | Yes | Object | Return object |
data.platFormTradeNo | Yes | string | paypro transaction number |
data.amount | Yes | string | Transaction amount |
data.status | Yes | string | Request result, merchants can use this for logic processing. When the result is 0000, it indicates a successful transaction; 0015 indicates processing; all other codes indicate errors and can be treated as failures. |
data.message | Yes | string | Error description |
data.successTime | Yes | string | Transaction success time (local time) |
data.receivedAmount | Yes | string | real receivedAmount |
data.createTime | Yes | string | createTime (local time) |
{
"msg": "success",
"code": "0000",
"timestamp": 1728613513280,
"success": true,
"data": {
"tradeNo": "test_00000008",
"platFormTradeNo": "68o0uwogz7mnzutt",
"status": "00029",
"amount": "300",
"receivedAmount": "230",
"createTime": "2024-10-11 9:30:13",
"successTime": "2024-10-11 10:30:13",
"message": "time out"
}
}