Payment Query API
Tips
- All requests are
Post
requests, and the data format isjson
Brief Description
- No
Request URL
/v1/paypro/queryPayInResult
Request Method
- post
Header
Header | Required | Type | Description |
---|---|---|---|
merchantNo | yes | string | no |
Request Body Parameters
Name | Required | Type | Desc |
---|---|---|---|
tradeNo | Y | string | Merchant order number |
timestamp | Y | string | Timestamp |
sign | Y | string | encrypt |
Request Example
{
"sign": "ac13b9abf95c66ffc4025abaaeeb3a83",
"timestamp": "1728613488294",
"tradeNo": "test_00000008"
}
Successful Response Example
Parameter name | Required | Type | Description |
---|---|---|---|
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.tradeNo | yes | string | Merchant order number |
data.platFormTradeNo | yes | string | Paypro Transaction Number |
data.status | yes | string | Request result. Merchants can use it for logical processing. When the result is 0000, it means the transaction is successful. 0001 means that the transaction is partially successful and the actual payment amount is subject to the actual payment amount. 0015 means in processing. Others are error codes and can be treated as failures. |
data.orderAmount | yes | float | Order amount |
data.payAmount | yes | float | Payment amount |
data.message | yes | string | Error description |
data.channelCode | yes | string | channelCode |
data.wayCode | yes | string | wayCode |
{
"msg": "success",
"code": "0000",
"timestamp": 1728613513280,
"success": true,
"data": {
"tradeNo": "test_00000008",
"platFormTradeNo": "68o0uwogz7mnzutt",
"status": "00029",
"orderAmount": "300",
"payAmount": "300",
"createTime": "2024-10-11 9:30:13",
"successTime": "2024-10-11 10:30:13",
"message": "Fail",
"channelCode": "EWALLET",
"wayCode": "DANA"
}
}