URL: http://xxxxxxx/pay/sendApiRedPack   (外部三方自己提供)

Type: POST

Author: shangpan

Content-Type: application/json; charset=utf-8

Description: 发红包API, 付款到零钱,付款api

Body-parameters:

ParameterTypeRequiredDescription

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

环境

{ @link VisitEnvironmentEnum }

notifyWay

string

false




通知用户形式 notify_way 是
MINI_PROGRAM_JSAPI

String(256) 通过JSAPI方式领取红包,小程序红包固定传MINI_PROGRAM_JSAPI


tradeRecordId

int64

true

lottery库t_player_red_packet_record表主键ID


Response-fields:

FieldTypeDescriptionSince

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




Jsapi的入参, 小程序红包,以下字段在return_code和result_code都为SUCCESS的时候有返回。
返回jaspi的入参package的值。

示例值

sendid=242e8abd163d300019b2cae74ba8e8c06e3f0e51ab84d16b3c80decd22a5b672&ver=8&sign=4110d649a5aef52dd6b95654ddf91ca7d5411ac159ace4e1a766b7d3967a1c3dfe1d256811445a4abda2d9cfa4a9b377a829258bd00d90313c6c346f2349fe5d&mchid=11475856&appid=wxd27ebc41b85ce36d


-

mchAppid

string

申请商户号的appid或商户号绑定的appid(号corpid即为此appId). String(128)
付款到零钱API的属性

-

mchid

string

微信支付分配的商户号. String(32)
付款到零钱API的属性

-

partnerTradeNo

string

商户使用查询API填写的单号的原路返回. String(32)
付款到零钱API的属性

-

paymentNo

string

付款成功,返回的微信付款单号. String(64)
付款到零钱API的属性

-

paymentTime

string

付款成功时间,2015-05-19 15:26:59. String(32)
付款到零钱API的属性






  • 无标签