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 |
---|---|---|---|
privateKey | string | false | 私钥 |
certKey | string | false | certKey |
wxAppId | string | true | wxAppId |
mchId | string | true | mchId |
apiSecretKey | string | false | apiSecretKey |
mchBillno | string | true | No comments found. |
sendName | string | true | No comments found. |
openid | string | true | 不是微信的openid,而是user_id自定义身份字段的值 |
totalAmount | int32 | true | No comments found. |
wishing | string | true | No comments found. |
clientIp | string | true | No comments found. |
actName | string | true | No comments found. |
remark | string | true | No comments found. |
environment | string | false | 环境 |
notifyWay | string | false |
|
tradeRecordId | int64 | true | lottery库t_player_red_packet_record表主键ID |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
returnCode | string | No comments found. | - |
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. | - |
hbpackage | string |
| - |
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) |