说明

固定金额二维码

请求地址

环境 请求地址
测试环境 https://pay.umxnt.com/api/merchant/qr_pay
正式环境

请求参数

参数 类型 是否必填 最大长度 描述
token string 令牌
other_no string 外部单号 保存唯一
store_id string 门店ID
ways_source string 通道来源-2.3.4接口中调ways_source,
ways_type string 通道类型-2.3.4接口中调ways_type,
total_amount string 付款金额
shop_price string 商品金额
device_id string 设备id
shop_name string 商品名称
shop_desc string 商品描述
remark string 备注
notify_url string 异步通知地址
  • 返回值示例 成功请求示例:

    {
      "status": 1,
      "data": {
        "code_url": "https://qr.alipay.com/bax08668jw96ytts9mdg20cf",
        "out_trade_no": "qr201806141252441789500955611186",
        "store_name": "有梦想科技"
      }
    }
    
  • 返回说明

参数 说明
code_url 付款二维码,可自行转化成 二维码
out_trade_no 内部订单号
  • 异步回调参数
参数 说明
status 返回状态 1成功 2失败
pay_status 支付状态 1成功
pay_status_desc 支付状态说明
trade_no 支付订单号
other_no 三方订单号
out_trade_no 平台订单号
pay_time 支付时间
buyer_pay_amount 支付金额
  • 异步处理完成需要返回参数
{
    'RspCode':'000000',
    'RspDes':'处理成功',
}
  • 失败请求示例

    {
        "message":"无效参数",
        "status":2
    }
    

results matching ""

    No results matching ""