URL: http://xxxxxxx/pay/sendApiRedPack (外部三方自己提供)
Type: POST
Author: shangpan
Content-Type: application/json; charset=utf-8
Description: 发红包API, 付款到零钱,付款api
Body-parameters:
Parameter | Type | Required | Description |
---|---|---|---|
wxAppId | string | true | 微信小程序/公众号的APPID |
mchId | string | true | 微信支付分配的商户号 |
mchBillno | string | true | 兔展生成的用于提交给微信的交易订单号 |
openid | string | true | 不是微信的openid,而是 客户企业在兔展的自定义身份字段user_id的值 |
amount | int32 | true | 付款金额,单位为分 |
clientIp | string | true | 请求微信api的兔展侧服务器公网IP。建议客户侧覆盖该值 |
actName | string | true | 活动名称。注意:敏感词会被转义成字符*,不超过32位长度字符。 |
remark | string | true | 备注信息,不超过256位长度字符。 |
tradeRecordId | int64 | true | 兔展生成的内部交易订单号 |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
returnCode | string | SUCCESS/FAIL 。此字段是通信标识,非交易标识,交易是否成功需要查看result_code来判断 | - |
returnMsg | string | No comments found. | - |
resultCode | string | No comments found. | - |
errCode | string | No comments found. | - |
errCodeDes | string | No comments found. | - |
mchBillno | string | No comments found. | - |
mchId | string | No comments found. | - |
wxappid | string | No comments found. | - |
reOpenid | string | No comments found. | - |
totalAmount | string | No comments found. | - |
sendListid | string | No comments found. | - |
mchAppid | string | 申请商户号的appid或商户号绑定的appid(号corpid即为此appId). String(128) | - |
mchid | string | 微信支付分配的商户号. String(32) | - |
partnerTradeNo | string | 商户使用查询API填写的单号的原路返回. String(32) | - |
paymentNo | string | 付款成功,返回的微信付款单号. String(64) | - |
paymentTime | string | 付款成功时间,2015-05-19 15:26:59. String(32) |