说明
查询代理的门店通道默认费率
请求地址
| 环境 | 请求地址 |
|---|---|
| 测试环境 | https://pay.umxnt.com/api/user/user_ways_default |
| 正式环境 |
请求参数
| 参数 | 类型 | 是否必填 | 最大长度 | 描述 |
|---|---|---|---|---|
| token | string | 是 | 令牌 | |
| user_id | string | 是 | 用户名ID |
返回值示例 成功请求示例:
{ "status": 1, "data": [ { "ways_type": 3001, "ways_desc": "支付宝-网商银行", "store_all_rate": "0.60", "store_all_rate_a": "0.60", "store_all_rate_b": "0.60", "store_all_rate_b_top": "20.00" }, { "ways_type": 3002, "ways_desc": "微信支付-网商银行", "store_all_rate": "0.60", "store_all_rate_a": "0.60", "store_all_rate_b": "0.60", "store_all_rate_b_top": "20.00" }, { "ways_type": 1000, "ways_desc": "支付宝-官方", "store_all_rate": "0.60", "store_all_rate_a": "0.60", "store_all_rate_b": "0.60", "store_all_rate_b_top": "20.00" }, { "ways_type": 2000, "ways_desc": "微信支付-官方", "store_all_rate": "0.60", "store_all_rate_a": "0.60", "store_all_rate_b": "0.60", "store_all_rate_b_top": "20.00" }, { "ways_type": 6001, "ways_desc": "支付宝-京东聚合", "store_all_rate": "0.60", "store_all_rate_a": "0.60", "store_all_rate_b": "0.60", "store_all_rate_b_top": "20.00" }, { "ways_type": 6002, "ways_desc": "微信支付-京东聚合", "store_all_rate": "0.60", "store_all_rate_a": "0.60", "store_all_rate_b": "0.60", "store_all_rate_b_top": "20.00" }, { "ways_type": 6003, "ways_desc": "京东支付-京东聚合", "store_all_rate": "0.60", "store_all_rate_a": "0.60", "store_all_rate_b": "0.60", "store_all_rate_b_top": "20.00" }, { "ways_type": 6004, "ways_desc": "银联扫码-京东聚合", "store_all_rate": "0.60", "store_all_rate_a": "0.60", "store_all_rate_b": "0.60", "store_all_rate_b_top": "20.00" }, { "ways_type": 8001, "ways_desc": "支付宝-新大陆", "store_all_rate": "0.60", "store_all_rate_a": "0.60", "store_all_rate_b": "0.60", "store_all_rate_b_top": "20.00" }, { "ways_type": 8002, "ways_desc": "微信支付-新大陆", "store_all_rate": "0.60", "store_all_rate_a": "0.60", "store_all_rate_b": "0.60", "store_all_rate_b_top": "20.00" }, { "ways_type": 8004, "ways_desc": "银联扫码-新大陆", "store_all_rate": "0.60", "store_all_rate_a": "0.60", "store_all_rate_b": "0.60", "store_all_rate_b_top": "20.00" }, { "ways_type": 8005, "ways_desc": "刷卡闪付-新大陆", "store_all_rate": "0.60", "store_all_rate_a": "0.60", "store_all_rate_b": "0.60", "store_all_rate_b_top": "20.00" } ] }返回参数说明
| 参数 | 类型 | 是否必填 | 最大长度 | 描述 |
|---|---|---|---|---|
| ways_type | string | 是 | 通道类型 | |
| store_all_rate | string | 是 | 扫码默认费率 | |
| store_all_rate_a | string | 是 | 贷记卡默认费率 | |
| store_all_rate_b | string | 是 | 借记卡默认费率 | |
| store_all_rate_b_top | string | 是 | 借记卡默认封顶 |
失败请求示例
{ "message":"无效参数", "status":0 }