说明

摄像头扫码

请求地址

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

请求参数

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

    {
        "status": 1,
        "data": {
            "merchant": {
                "msg": "支付成功",
                "out_trade_no": "150460499837442"
            }
        }
    }
    

    失败请求示例

    {
        "msg":"无效参数",
        "status":0
    }
    

results matching ""

    No results matching ""