Skip to main content

代收订单查询接口

代收订单查询接口 是指商户提交到系统查询订单状态的接口。

 

URL: https://domain/trade/query

Method: POST

Content-Type: application/x-www-form-urlencoded

参数明细表:

name opt type DESC e.g.
merchant N string 商户id e7b8ba3bdbf6ee68adc...
outtradeno N string 商户订单号 202002020123ABC
sign N string 签名 e10adc3949bae20f883e...

接口返回说明

基于全局返回模式,当成功时,code=0,results为所查询的数据对象,字段如下表:

name type DESC e.g.
tradeno string 订单号 e7b8ba3bdbf6ee68adc...
outtradeno string 商户订单号 20200202123ABC...
amount string 订单金额 20.68
ramount string 实际收款金额 20.58
endtime string 支付时间 2020-01-01 02:02:03
status string 订单状态 0未支付,1已支付,2超时,4撤销,5未认领 1
remark string 备注 测试订单
sign string 签名 e10adc3949bae20f883e...