cyzf

cyzf


支付订单创建

简要描述
  • 商城支付订单创建
请求URL
  • http://merchant.somutech.net/adapaycreate
请求方式
  • POST
参数
参数名 支付宝必选 微信必选 类型 说明
price string 价格[元]
goods_name string 商品名称
use_id int 用户id
pty_id int 支付类型 1:支付宝 2:微信
rch_id int 支付渠道<br/> 1:支付宝app支付<br/> 2:支付宝H5支付<br/> 3:支付宝小程序支付<br/> 4:支付宝扫码支付<br/>5:支付宝条码支付<br/>6:支付宝生活号支付<br/>7:微信公众号支付<br/>8:微信APP支付<br/>9:微信H5支付<br/> 10:微信扫码支付<br/> 11:微信付款码支付<br/> 12:微信刷脸支付
description int 描述
返回示例
{
    &quot;code&quot;: 200,
    &quot;msg&quot;: &quot;success&quot;,
    &quot;data&quot;: {
        &quot;use_id&quot;: &quot;76&quot;,
        &quot;mao_name&quot;: &quot;安踏永不止步&quot;,
        &quot;mao_order&quot;: &quot;c40b3000-0403-11ed-9d83-876e76ee8c57&quot;,
        &quot;mao_price&quot;: &quot;0.01&quot;,
        &quot;mao_trade_no&quot;: &quot;02212207155057288100661&quot;,
        &quot;mao_type&quot;: 1,
        &quot;mao_payexpress_time&quot;: 1657865092,
        &quot;pay_url&quot;: &quot;https://qr.alipay.com/bax08249mqueglsinwko5569&quot;,
        &quot;create_time&quot;: 1657866171
    }

}
返回参数说明
参数名 类型 说明
use_id int 商户id
mao_name string 商品名称
mao_order string 商家订单号
mao_price string 价格
mao_trade_no string 支付订单号
mao_type string 1:支付宝 2:支付宝
mao_payexpress_time string 过期时间
create_time string 创建时间
pay_url string 支付链接

页面列表

ITEM_HTML