~~~[api]
post:/app/index.php?i=1&c=entry&m=ewei_shopv2&do=mobile&r=machine.pay.wxpay
*int:id#订单ID
<<<
success
{
"status": 1,
"result": {
"return_code": "SUCCESS",
"return_msg": "OK",
"appid": "wxdf53fe6197ad5496",
"mch_id": "1310943101",
"device_info": "ewei_shopv2",
"nonce_str": "9WK6OsCc0AQVi9q3",
"sign": "DF89F417D532AB6C99C615A4C5F9ECFA",
"result_code": "SUCCESS",
"prepay_id": "wx29150537636235a45a776fac1654654300",
"trade_type": "NATIVE",
"code_url": "weixin:\/\/wxpay\/bizpayurl?pr=eFP3Tyz",
"qrcode": "https:\/\/gat.xtow.net\/app\/index.php?i=1&c=entry&m=ewei_shopv2&do=mobile&r=machine.login.qrcode&url=weixin%3A%2F%2Fwxpay%2Fbizpayurl%3Fpr%3DeFP3Tyz",
"url": "https:\/\/gat.xtow.net\/.\/"
}
}
<<<
error
{
"status": 0,
"result": {
"message": "订单不存在"
}
}
~~~
> 订单ID用于获取支付二维码时使用
| 字段 | 描述 |
| --- | --- |
| qrcode | 二维码地址 |