QQ钱包刷卡支付接口
方法名
- fshows.liquidation.qpay.micro.pay
请求参数
| 参数 |
类型 |
是否必填 |
最大长度 |
描述 |
| sub_merchant_id |
String |
是 |
20 |
清算平台商户号 |
| out_trade_no |
string |
是 |
20 |
清算方订单号 |
| body |
string |
是 |
128 |
商户名称,展示给用户 |
| total_fee |
string |
是 |
20 |
支付金额,单位为元,精确到分 |
| spbill_create_ip |
string |
是 |
16 |
用户端实际ip |
| notify_url |
string |
是 |
255 |
回调地址 |
| device_info |
string |
是 |
255 |
终端设备号 |
| auth_code |
string |
是 |
64 |
付款码 |
请求示例
{
"sub_merchant_id":"20170721144805022279",
"out_trade_no":"线下零售—超市",
"body":"测试",
"device_info":"123",
"auth_code":"910029319873192312"
"total_fee":"0.1",
"spbill_create_ip":"10.10.152.127",
"notify_url":"https://www.baidu.com/"
}
返回值
| 参数 |
类型 |
是否必填 |
最大长度 |
描述 |
| trade_no |
String |
是 |
20 |
清算平台订单号 |
| out_trade_no |
string |
是 |
20 |
清算方订单号 |
| total_fee |
string |
是 |
20 |
订单金额 |
| net_receipt_amount |
string |
是 |
20 |
净收入 |
| bank_commission_rate |
string |
是 |
20 |
银行费率 |
| bank_commission_fee |
string |
是 |
20 |
银行手续费 |
| pay_platform_rate |
string |
是 |
20 |
平台费率 |
| pay_platform_fee |
string |
是 |
20 |
平台手续费 |
| liquidator_commission_rate |
string |
是 |
20 |
清算方费率 |
| liquidator_commission_fee |
string |
是 |
20 |
清算方手续费 |
| trade_type |
string |
是 |
32 |
区分刷卡扫码 |
返回值示例 成功请求示例:
{
"return_value": {
"trade_no": "2017111616193401320674321683",
"out_trade_no": "wzpa201711161440010001",
"total_fee": 0.01,
"net_receipt_amount": 0.01,
"bank_commission_rate": 0.002,
"bank_commission_fee": 0,
"pay_platform_rate": 0.002,
"pay_platform_fee": 0,
"liquidator_commission_rate": 0.002,
"liquidator_commission_fee": 0,
"trade_type":"MICROPAY"
},
"success": true
}
失败请求示例
{
"error_code":"-101",
"error_message":"无效参数",
"success":false
}