Payout Query
Request URL
method | url |
---|---|
POST | /api/pay/payout/query/v1 |
Header Information
Header Parameter | Description |
---|---|
timestamp | Request timestamp |
nonce | Random value |
country | Country code (PE) |
app_code | Application ID |
Request Parameters
Field | Type | Required | Length | Description |
---|---|---|---|---|
merchantOrderNo | String | yes | 32 | Merchant order number |
sign | String | yes | Signature |
{ "merchantOrderNo": "OrderNoExample", "sign": "YOUR_SIGN"}
Response Parameters
Field | Type | Required | Length | Description |
---|---|---|---|---|
merchantOrderNo | String | yes | 32 | Merchant order number |
tradeNo | String | yes | Platform order number | |
amount | String | yes | Payout amount | |
status | Int | yes | Payout status: 2 = Success, 3 = Failure | |
serviceAmount | String | yes | Service fee = Fixed amount + (Transaction amount × Service rate) | |
immService | String | yes | Fixed service amount | |
serviceRate | String | yes | Service rate | |
errorCode | Number | yes | Error code for payout failure | |
errorMessage | String | yes | Error message for payout failure | |
completeTime | String | yes | Completion time in local timezone, format yyyy-MM-dd HH:mm:ss |
{ "code": 200, "data": { "merchantOrderNo": "OrderNoExample", "tradeNo": "TF2501010001PE0000000000000000", "amount": "1000.00", "status": 2, "serviceAmount": "15.00", "immService": "5.00", "serviceRate": "0.010", "errorCode": null, "errorMessage": null, "completeTime": "2025-05-01 00:00:00" }, "msg": "success", "traceId": "747bbf80261844ed85b809212aab0d81.85.17422898158610298"}
{ "code": 400, "msg":"Order not found", "traceId": "747bbf80261844ed85b809212aab0d81.85.17422898158610298"}