Refund Account Inquiry
You can inquire about the information of the refund to the account.
Currently only supports WeChat and Alipay. Alipay needs to apply for permission.
Info
{domain}/Servlet/JSAPIService.do
https:/VMP/Servlet/JSAPIService.do
Name | Type | Description | Requirement |
---|---|---|---|
service | String | Interface nameservice.unified.RefundStatusQuery | |
querytype | String(30) | Query type, fixed: OUT_TRADE | |
eft_trade_no | String(28) | eftPay order numbereft_trade_no and out_trade_no choose one | |
out_trade_no | String(28) | Merchant order numberout_trade_no and eft_trade_no choose one | |
refund_no | String(28) | Merchant refund number | |
user_confirm_key | String(12) | User Key, provided by eftPay | |
time | String | Time, format: yyyyMMddHHmmss | |
sign | String(64) | Signature |
Tips
- Priority
eft_trade_no
>out_trade_no
Name | Type | Description | Requirement |
---|---|---|---|
return_status | String(3) | Return status code, represents . Note: This parameter cannot be used to judge whether the transaction status is successful Other status codes see Appendix 3 | |
return_char | String(100) | Return description, may change, cannot be conditional judgment | |
time | String | Time, format: yyyyMMddHHmmss return_status >= 00 returns | |
sign | String(64) | Signaturereturn_status >= 00 returns |
Name | Type | Description | Requirement |
---|---|---|---|
out_trade_no | String(28) | Merchant order number | |
refund_no | String(28) | Merchant refund number | |
eft_trade_no | String(28) | eftPay order number | |
eftpay_trade_no | String(28) | eftPay order number | |
trade_status | String(32) | Trade status, see Appendix 2 | |
refund_status | String(32) | Refund status SUCCESS - Successful PROCESSING - Processing FAIL - Failed | |
recv_account | String(64) | Refund recipient, only supported by WeChat, other transactions return empty string | |
user_confirm_key | String | User Key, provided by eftPay | |
trade_type | String(10) | Order typeREFUND | |
buyer_id | String(30) | User ID | |
tid | String(20) | Terminal number, returned when the consumption request is sent | |
transaction_id | String(64) | Payment provider's order number | |
trade_no | String(64) | Payment provider's order number | |
payment_type | String(8) | Wallet type | |
trade_time | String | Trade time, format: yyyy-MM-dd HH:mm:ss | |
transaction_amount | String(8) | Refund amount | |
currency | String(10) | Currency | |
original_amount | String(8) | Original transaction amount |
{
"service": "service.unified.RefundStatusQuery",
"user_confirm_key": "S0000XXX",
"out_trade_no": "60001900057884002011XXXXXX",
"refund_no": "R6000220304056600010201XXXXXX",
"sign": "01956c0d46d99f1b2d25277XXXXXX2177d0a781546660fd16f9fd6e41489c788",
"time": "20220304175554",
"querytype": "OUT_TRADE"
}
{
"trade_status": "TRADE_REFUND",
"refund_status": "SUCCESS",
"trade_time": "2022-03-04 10:46:42",
"recv_account": "支付用户零钱",
"out_trade_no": "60001900057884002011XXXXXX",
"eftpay_trade_no": "1852010010166666666203nnlXXXXXX",
"eft_trade_no": "1852010010166666666203nnlXXXXXX",
"user_confirm_key": "S0000XXX",
"buyer_id": "oGw5c50Z359CkfEwmKlDryXXXXXX",
"transaction_id": "4200001364202203043271XXXXXX",
"trade_no": "4200001364202203043271XXXXXX",
"payment_type": "WECHATCN",
"currency": "CNY",
"original_amount": "1.0",
"refund_no": "R6000220304056600010201XXXXXX",
"transaction_amount": "0.5",
"trade_type": "REFUND",
"time": "20220304175557",
"return_status": "00",
"return_char": "",
"sign": "5d27e3ab565c745016c06c9d573XXXXXXf70518646d82c2e76b5b2d062c3c13d"
}