说明

摄像头扫码-新

请求地址

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

请求参数

参数 类型 是否必填 最大长度 描述
token string 令牌
code string 用户的二维码授权编号
total_amount string 付款金额
shop_price string 商品金额
  • 返回值示例 成功请求示例:

    {
        "return_code": "SUCCESS",
        "return_msg": null,
        "result_code": "USERPAYING",
        "result_msg": "等待用户付款",
        "tradeNo": "wxscan20180927125326559041059",
        "outTradeNo": "dm2839676165",
        "out_transaction_id": "",
        "totalFee": "1",
        "channel": "wx_barcode_pay",
        "time_end": "",
        "sign": "1b8fbac816e8b6619e455b694871ef70"
    }
    

    失败请求示例

    {
        "return_code": "FALL",
        "return_msg": "参数有误",
        "sign": "6e18dfc643802a38d78568ba59333b5f"
    }
    

results matching ""

    No results matching ""