说明
获取接口地址(设备或者插件用到)
请求地址
环境 | 请求地址 |
---|---|
正式环境 | https://pay.umxnt.com/api/device/GetRequestApiUrl |
测试环境 |
请求参数
参数 | 类型 | 是否必填 | 最大长度 | 描述 |
---|---|---|---|---|
device_id | string | 是 | 255 | 唯一的设备id/sn |
device_com | string | 是 | 255 | 设备厂商 |
返回值示例 成功请求示例:
{ "status": 1, "Request": "https://pay.umxnt.com", "data": { "Login": "https://pay.umxnt.com/api/merchant/login", "ScanPay": "https://pay.umxnt.com/api/merchant/scan_pay", "Order": "https://pay.umxnt.com/api/merchant/order", "Order_info": "https://pay.umxnt.com/api/merchant/order_info", "Refund": "https://pay.umxnt.com/api/merchant/refund" } }
说明
参数 | 说明 |
---|---|
Request | 请求根域名 |
data | |
Login | 1.1-登录 |
ScanPay | 2.3.2-扫一扫收款 |
Order | 4.1-订单列表 |
Order_info | 4.2-订单流水详情 |
Refund | 4.3-退款 |
失败请求示例
{ "msg":"无效参数", "status":0 }