Skip to content

代付查询 ​

path: /openapi/wd/status ​

method: POST ​

content-type: application/json ​

公共请求参数 ​

属性描述示例类型必填
time_stamp当前时间戳,精度:秒1613719331string是
mch_no商户号1611906847string是
nonce随机字符串9ZD0fWnWg1VPRlOVstring是
sign签名,生成方法见签名规则页string是

请求参数 ​

属性描述示例类型必填
out_order_no商户订单号test0001string是
inst_seq_no机构流水号377492924133string否

请求参数示例 ​

json
{
  "time_stamp": "1613719331",
  "mch_no": "1611906847",
  "nonce": "9ZD0fWnWg1VPRlOV",
  "sign": "84b59f1a98db0380189f0bfc5bbe687dac20fcbc338577a21236110ffa11b571",
  "out_order_no": "test0001",
  "inst_seq_no": "377492924133"
}

响应参数 ​

属性描述示例类型必填
out_order_no商户订单号test0001string是
status订单状态,3表示打款成功1int是
trade_no平台订单2021022000000005string是
amount订单金额1000int是
pay_type支付方式ALI_QRstring是
currency币种CNYstring是

status字段枚举, 3(成功)和4(失败)为最终状态, 其他状态码均为不确定且后续会变化

值状态
1创建完成
2处理中
3成功
4失败
5回滚
6转派

响应参数示例 ​

json
{
    "data": {
        "out_order_no": "test0001",
        "status": 1,
        "trade_no": "2021022000000005",
        "amount": 1000,
        "pay_type": "ALI_QR",
        "currency": "CNY",
    },
    "code": 2000,
    "msg": null
}