# 订单状态查询(方式 2)
# 说明
- 请求方式:GET 方式
- 此接口不稳定,建议用方式 1
# 接口地址
https://open.weidoufu.com/pay/check (opens new window)
# 接口参数
名称 | 字段类型 | 必填参数 | 说明 (AccessKey/SecretKey)应用密钥 |
---|---|---|---|
mch_trade_no | string(32) | 是 | 平台返回的订单号 |
# 返回参数
名称 | 字段类型 | 必有 | 说明 |
---|---|---|---|
code | int | 是 | 1:成功 0:失败 |
message | string | 是 | 返回描述信息 |
mch_trade_no | string | 是 | 平台返回的订单号 |
out_order_no | string | 是 | 商户订单号(字母、数字) |
notify | int | 是 | 通知状态:1-待通知;2-成功;3-失败; |
status | int | 是 | 支付状态:1-待支付;2-成功;3-失败; |
返回结果示例:
{
code: 1,
data: {
mch_trade_no: "202105134699973515066771",
notify: 1,
out_order_no: "u200138039201620898294",
status: 1,
message: "查询成功"
},
status: "success"
}
最后更新于: 5/6/2023, 12:12:59 PM