代付订单查询接口
代付订单查询接口 是指商户提交到系统查询代付订单状态的接口。
URL: https://domain/transfer/query
Method: POST
Content-Type: application/x-www-form-urlencoded
参数明细表:
| name | opt | type | DESC | e.g. |
|---|---|---|---|---|
| merchant | N | string | 商户id | e7b8ba3bdbf6ee68adc... |
| outtransferno | N | string | 商户代付订单号 | 202002020123ABC |
| sign | N | string | 签名 | e10adc3949bae20f883e... |
接口返回说明
基于全局返回模式,当成功时,code=0,results为所查询的数据对象,字段如下表:
| name | type | DESC | e.g. |
|---|---|---|---|
| transferno | string | 订单号 | e7b8ba3bdbf6ee68adc... |
| outtransferno | string | 商户订单号 | 20200202123ABC... |
| tradeamount | string | 商户账户扣除金额 | 101 |
| transferamount | string | 代付金额 | 100 |
| endtime | string | 支付时间 | 2020-01-01 02:02:03 |
| remark | string | 备注 | abcd |
| status | string | 订单状态 0未结算,1已结算,2结算中,3结算异常(人工复查处理),4已撤销 | 1 |
| sign | string | 签名 | e10adc3949bae20f883e... |
| fee | string | 单笔手续费 | 1.00 |
| rate | string | 手续费率 | 0.5 |
| bankfee | string | 银行手续费 | 0.5 |
| totalfee | string | 总手续费 | 5.5 |