URL: http://xxxpay/getApiRedPacketStatus (外部三方自己提供)xxxxxxx/pay/getApiRedPacketStatus (外部三方自己提供用于接收从兔展侧发起的请求)
Type: POST
Author: shangpan
Content-Type: application application/jsonxml; charset=utf-8
Description: 查询红包状态API, 查询付款状态
...
Parameter | Type | Required | Description | |
---|---|---|---|---|
privateKey | string | false | 私钥 | certKey | string | false
certKey | wxAppId | string | true | wxAppId商户号的appid |
mchId | string | true | mchId | |
apiSecretKey | string | false | apiSecretKey | |
微信支付分配的商户号 | ||||
mchBillno | string | truemchBillno | 商户调用付款API时使用的商户订单号 | |
tradeRecordId | int64 | true | lottery库t_player_red_packet_record表主键ID兔展生成的内部交易记录ID |
Response-fields:
Field | Type | Description | Since | |
---|---|---|---|---|
returnCode | stringNo comments found. | SUCCESS/FAIL 此字段是通信标识,非付款标识,付款是否成功需要查看result_code来判断 | - | |
returnMsg | stringNo comments found. | 返回信息,如非空,为错误原因 签名失败 参数格式校验错误 | - | |
resultCode | stringNo comments found. | SUCCESS/FAIL ,非付款标识,付款是否成功需要查看status字段来判断 | - | |
errCode | stringNo comments found. | 错误码信息 | - | |
errCodeDes | stringNo comments found. | 结果信息描述 | - | |
mchBillno | string | No comments found. | - | |
mchId | stringNo comments found. | - | ||
detailId | string | No comments found. | - | |
status | string | No comments found. | - | |
sendType | string | No comments found. | - | |
hbType | string | No comments found. | - | |
totalNum | stringNo comments found. | - | ||
totalAmount | stringNo comments found. | - | ||
reason | stringNo comments found. | 如果失败则有失败原因(可以把其他的字段都放在该字段中) | - | |
sendTime | stringNo comments found. | - | ||
refundTime | stringNo comments found. | - | ||
refundAmount | string | No comments found. | - | |
wishing | string | No comments found. | - | |
remark | string | No comments found. | - | |
actName | string | No comments found. | - | |
partnerTradeNo | string | 商户使用查询API填写的单号的原路返回. String(32) | - | |
appid | string | 商户号的appid. String(128) | - | |
openid | string | 转账的openid. String(64) | - | |
paymentAmount | string | 付款金额单位为“分”. int | - | |
transferTime | string | 发起转账的时间. String(32) | - | |
paymentTime | string | 付款成功时间. String(32) | - | |
desc | string | 付款备注. String(100) | - | |
transferName | string | 收款用户姓名,否. String(64) |
...
- |
...