URL: http://xxxpay/getApiRedPacketStatus (外部三方自己提供)xxxxxxx/pay/getApiRedPacketStatus (外部三方自己提供用于接收从兔展侧发起的请求)
Type: POST
Author: shangpan
Content-Type: application application/jsonxml; charset=utf-8
Description: 查询红包状态API, 查询付款状态
Body-parameters:
Parameter | Type | Required | Description |
---|
privateKey
string
false
私钥
certKey
string
false
certKey
wxAppId | string |
true |
商户号的appid | |
mchId | string |
false
mchId
apiSecretKey
string
false
true | 微信支付分配的商户号 |
mchBillno | string |
true |
商户调用付款API时使用的商户订单号 | |
tradeRecordId | int64 |
false
true | 兔展生成的内部交易记录ID |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
returnCode | string |
SUCCESS/FAIL 此字段是通信标识,非付款标识,付款是否成功需要查看result_code来判断 | - | |
returnMsg | string |
返回信息,如非空,为错误原因 签名失败 参数格式校验错误 |
- | |
resultCode | string |
SUCCESS/FAIL ,非付款标识,付款是否成功需要查看status字段来判断 | - |
errCode | string |
错误码信息 | - |
errCodeDes | string |
结果信息描述 | - |
mchBillno | string |
No comments found.
- | |
mchId | string |
- | ||
detailId | string |
No comments found.
- | |
status | string |
No comments found.
- | |
sendType | string |
- | ||
hbType | string |
- | ||
totalNum | string |
- | ||
totalAmount | string |
No comments found.
- | |
reason | string |
如果失败则有失败原因(可以把其他的字段都放在该字段中) | - |
sendTime | string |
- | ||
refundTime | string |
No comments found.
- | |
refundAmount | string |
- | ||
wishing | string |
- | ||
remark | string |
- | ||
actName |
string
No comments found.
-
hblist
array
No comments found.
-
└─openid
string
No comments found.
-
└─amount
string
No comments found.
-
string |
- | |||
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) |
...
- |
...