说明

添加设备

请求地址

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

请求参数

参数 类型 是否必填 最大长度 描述
token string 令牌
type string 设备归类 p 打印设备,s 扫码盒子 v 播报设备
device_type string 设备类型-调5.7.2-查询
device_name string 设备名称-调5.7.2-查询
store_id string 门店id-调5.2.1接口查询
merchant_id string 收银员id-调5.2.2接口查询
device_no string 设备编号
device_key string 设备秘钥

成功请求示例

{
  "status": 1,
  "message": "添加成功",
  "data": {
    "store_id": "123",
    "device_type": "123",
    "device_no": "123",
    "device_key": "123",
    "device_name": "123"
  }
}
  • 失败请求示例

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

results matching ""

    No results matching ""