代付查询
请求地址
| method | url |
|---|---|
| POST | /api/pay/payout/query/v1 |
头部信息(header)
| header参数 | 入参参数描述 |
|---|---|
| timestamp | 请求时间戳 |
| nonce | 随机值 |
| country | CL |
| app_code | app编号 |
请求参数
| 字段 | 类型 | 必需 | 长度 | 描述 |
|---|---|---|---|---|
| merchantOrderNo | String | yes | 32 | 商户订单号 |
| sign | String | yes | 签名 |
{ "merchantOrderNo": "OrderNoExample", "sign": "YOUR_SIGN"}返回参数
| 参数 | 类型 | 必需 | 长度 | 描述 |
|---|---|---|---|---|
| code | Integer | yes | 请求响应码 | |
| msg | String | yes | 响应信息 | |
| data | Object | yes | 响应数据 | |
| — merchantOrderNo | String | yes | 32 | 商户订单号 |
| — tradeNo | String | yes | 平台订单号 | |
| — amount | String | yes | 代付金额 | |
| — status | Int | yes | 代付状态,2:成功 3:失败 |
{ "code": 200, "data": { "amount": "10000.00", "merchantOrderNo": "OrderNoExample", "status": 1, "tradeNo": "TF2501010001CO0000000000000000" }, "msg": "success", "traceId": "747bbf80261844ed85b809212aab0d81.85.17422898158610298"}错误码
| 异常码 | 异常信息 | 处理方案 |
|---|---|---|
| 412 | Please try again later | 请稍后重试 |
| 414 | * | 更改对应参数 |
| 416 | Application not found | app_code异常,请更改 |
| 417 | Merchant account not found | 商户账户未找到,请联系我们 |
| 418 | Merchant account is closed | 商户账户已关闭,请联系我们 |
| 434 | Merchant order not exist | 请检查提交的订单号 |
| 500 | Business Error | 请联系我们 |
{ "code": 416, "data": null, "msg": "Application not found", "traceId": "0801113131dd4951a36d19022a31b303.94.17423567008990449"}