Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
发起请求时的notify_url
代付订单处理成功或失败都会发送异步通知,需要判断返回结果里的 status 参数为成功或失败做后续的处理
异步发送post json请求
{ "mch_id": "12345678", //商户号 "mch_order_no": "47791232007162150200884444", //商户订单号 "order_no": "MP20200801170409575199514949", //系统订单号 "currency": "USD", // 订单币种 "amount": "99.11", //订单金额 "fee": "2.00", //代付手续费 "status": "SUCCESS", "paid_at": 1597124856123, // 付款时间 "error": "", // 错误信息 "receipt": "http://abc.com/abc.jpg", //如有,支付成功时的交易凭证 "sign": "1235e535956e6c288b6fdcae4522a13a" //签名 }
逻辑处理成功需响应字符串 success, 处理失败需返回 fail 或其它提示