简要描述:

  • 微信支付接口

请求域名:

  • http://www.yunzshop.com

请求URL:

GET/&route=order.merge-pay.wechat-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" => "WEIXIN_NATIVE"
			"rc_Result" => "weixin://wxpay/bizpayurl?pr=SbLilWK"
			"ra_Code" => 100
			"hmac" => "F19A59E04BA394953568EC304121EFF2"
			"rd_Pic" => "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANIAAADSAQAAAAAX4qPvAAABc0lEQVR42u2YMY6EMAxFjShS5gjcBC420ozExZib5AiUKRDe/82sNOyy5dpTJAUieY3l/+0YRP9cizTWWGP/zwRr0Kdug+554+4expLiuE46q+5yG1TXQLbgJO1ZiwUrXTSr09rz4PYpTCRvwYz6MUTa6EpbR2a+Ts/1Zo8LzzsyW/SS1jFf9QJHBsFEEjJVoN+DlR/HquS5yCh9Qc5kqO9e8mbofg95mRuuwlsgw6YwcQNyhgZ00taZJXRi0SWzMUPJUAbzzCUtvKY6FFo91Zgzo2p8mRVeuqtEMmx6K3WYG4/0Y57wZR3dbPVuEe/vcTozXgjQD8GauXUJZLTRQHOz7fTlFKc3qx18bY3Zeg8KLY5BOtyW4zF6Yo0Sx/QwNxNnNXa6H5yZzRMw92wdkUrGMZuzYCgtFqJMayD7noDRdl6TRSyrnCeQONsGM5OOrPzOmScz/WzE4k0hxxAaww5f26cKSv3cB71Z++fRWGMfx74AgWkrYeO+ZvEAAAAASUVORK5CYII="
			"r4_Cur" => "1"
			"r0_Version" => "1.0"
			"r1_MerchantNo" => "888100000002340"
		]
    }
}

错误时返回:

{
  result:0
  msg:"版本号错误"
  data: {}
}

返回参数说明:

参数名 类型 说明
rc_Result string 微信跳转链接
rd_Pic string 微信支付二维码

备注:

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