简要描述:

  • 支付

action

域名/addons/yun_shop/external.php?i=10&mid=0&type=5&shop_id=null&route=payments.pay

参数:

参数名 是否必须 类型 说明
i int 当前公众号
payType int 支付类型-24
data array 支付参数 ([subject=>'名称', 'body'=>'详情', 'amount'=>'金额','order_no'=>'订单号','extra'=>['附加数据']])

返回示例:

正确时返回:

 {
    "result": 1,
	"msg": 'ok'
	"data": {
	    status:1
	}
  }

错误时返回:

  {
    "result": 0,
    "msg": '',
	"data":null
  }

返回参数说明:

参数名 类型 说明
result int 0-失败;1-成功
msg string 消息提示
data boj 数据对象

备注:

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