简要描述:
- 支付结果查询接口,用于轮询查询支付结果
请求域名:
- http://xx.com
请求URL:
POST/plugin.xz-api.frontend.order.query
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
order_id | 是 | int | 订单ID |
返回示例:
正确时返回:
{
"result": 1,
"msg": "查询成功",
"data": {
"status": 1,
},
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
status | int | 0未付款,1已付款 |
错误时返回:
{
"result": 0,
"msg": "参数错误",
"data": []
}
备注:
- 更多返回错误代码请看首页的错误代码描述