简要描述:

  • 公众号支付

请求域名:

  • http://test.yunzshop.com

请求URL:

GET/&route=order.merge-pay.yop-pay

参数:

参数名 是否必须 类型 说明
order_pay_id int 订单支付id

返回示例:

{
    "result": 1, 
    "msg": "", 
    "data": {
        "resultType": "json", 
        "resultData": {
            "appId": "wx1691a941768defef", 
            "timeStamp": "1547797132", 
            "nonceStr": "afd102ba06e343028a124c07b3e3fcd8", 
            "package": "prepay_id=wx181538523234473fbae096a04157604853", 
            "signType": "RSA", 
            "paySign": "DnobZ9vn56g3tbi9yZO2hLPKUhdkmjhzKasvn9QiyMQalUPXIs+vtb0/FU7jsvnbCb2i5g+Ist4yV6Zus2m0wWnSgatWj6sjGGZpjng+geOe/QHsE9hizuU3gm4+nAO4ldcDFNvAEBIAtOqdZ1tJoxWezN2JTpNodCeAJMT7kC54AuBs8NWM3F89ibBHi2lUByeEFR4dC1J96kKMlPxfOlzZBj4XjEdyOdQOF1GmLCvv4O4fz9cVLBsy371I+8mY2aMkx6WwHlGPAKab92k48HOxS1qjjZz0WrEJVNGI5/rc240j64Ild8FMTDvupQen47Md3YLldzE6zuWCxRapXQ=="
        }
    }
}

错误时返回:

{
    "result": 0, 
    "msg": "错误信息", 
    "data": {}

返回参数说明:

支付类型 value = 26

参数名 类型 说明
resultType string 为 url 时 resultData 是跳转链接,为 json 时 resultData 是数组
resultData string 支付配置

备注:

  • 更多返回错误代码请看首页的错误代码描述