简要描述:
- 支付宝支付接口
请求域名:
- http://www.yunzshop.com
请求URL:
GET/&route=order.merge-pay.alipay-pay-hj
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
order_pay_id | 是 | int | 订单支付id |
返回示例:
{
result: 1,
msg: "成功",
data: {
"data" => array:12 [
"r7_TrxNo" => "100219060470655984"
"rb_CodeMsg" => ""
"r2_OrderNo" => "PN20190604142242:1"
"r3_Amount" => "0.01"
"r6_FrpCode" => "ALIPAY_NATIVE"
"rc_Result" => "https://qr.alipay.com/bax03664a1anlirxiicb60f2"
"ra_Code" => 100
"hmac" => "F19A59E04BA394953568EC304121EFF2"
"rd_Pic" => "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANIAAADSAQAAAAAX4qPvAAABfUlEQVR42u2YMY6EMAxF/4giJUfgJszFRmIkLgY3yREoUyC834Zigdly7SmSIoK8FCbfcX6A/NkmVFZZZf/PwNbJvLy6NOGlb0MYSyJrl2YZMx6cILIEMkZnI1n0iROCGUfQlb5dv4CVp7ypXzhT/dCDazZ/1NaRWV4ny2t2H3LekVkraCWnPcRrLXBkDIzR9e1bc2nM7OKYbO0olK4Rigik3/p5M4AhsvaI5RLZac18mS6SSmc1WYNt45juMRSrPUwoKQ+JY1ypQSeMkrabts7MlstqD/c7gz1/gy/jcKMirpCJSjLN45i5CHaAhXj+BmdmRbjoCUX9rDAPYYz6mc9q6G1Eq9BZW1+2gcNamIVPfG0D2cz9DvoJWKOSQxiTI6F0hNLdz3BHtvsJUf16c3/XO4IjM59lh8ReEbfrHcGTHV64yXpI4LzHIhizedVOcgGCmd4RUJ6Linmpya7MfDnrYFY/kW9+wpMdvlzvlBrih5z3Y/WfR2WVfR37Ad0tLwhP2UT4AAAAAElFTkSuQmCC"
"r4_Cur" => "1"
"r0_Version" => "1.0"
"r1_MerchantNo" => "888100000002340"
]
}
}
错误时返回:
{
result:0
msg:"版本号错误"
data: {}
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
rc_Result | string | 支付宝跳转链接 |
rd_Pic | string | 支付宝支付二维码 |
备注:
- 更多返回错误代码请看首页的错误代码描述