ayEase Refund Query Interface

Description

This interface is used for merchant to actively query refund details.

Request Endpoint

https://apis.5upay.com/icc/refundQuery

Name Type& Max Description Requirement
merchantId varchar(9) The unique identity of the merchant ID in Payease system, After the merchant completes Payease system registration, the merchant can log in the merchant background to check M
requestId varchar(50) Same as the requestId of the request parameter M
hmac varchar(500) The method for obtaining hmac is shown in "Developers," The parameter sequence is spliced from A-Z with the initials of key name, and The corresponding key values are separated by #. M

Sample

{ "merchantId": "888", "requestId": "12345", "hmac": " af291df5d288690d2b7d7bcff7dc5a74447ce1502c1edcc9293051bb6a517d68 6fbb31de72bfd14938d474fa6dd0afb82a2c222a6a345e41683d456a142e3376 c5c8f07dc5bc92dd5b09af316fa478a003189ed4d4c956d33162de11a8aec8ab 6abcf66b19833302780cffaa25c7e40bb9b2ccc59adc44e3fcb4632bce5d9cf9" }

Returned Fields

Note: Only when the response processing is normal, the status parameter value is SUCCESS, the message includes merchant number, order number and other information.

Name Description
status SUCCESS
ERROR
merchantId The unique identity of the merchant ID in Payease system, After the merchant completes Payease system registration, the merchant can log in the merchant background to check
orderRequestId Same as the orderRequestId of the request parameter
requestId Same as the requestId of the request parameter
refundId Refund ID
bankNumber Refund bank number
refundStatus INIT
PROCESSING
SUCCESS
FAILED
amount Refund amount
currency CNY is RMB, USD is US dollar, EUR is Euro, GBP is pound, JPY is yen, KRW is Korean dollar, RUB is rouble, CHF is Swiss franc, HKD is Hong Kong dollar, SGD is Singapore dollar, MOP is Macao dollar, CAD is Canadian dollars, NZD is New Zealand dollars, TWD is nt dollars, AUD is Australian dollars
refundSubmissionTime Format: yyyy-MM-dd HH:mm:ss
refundCompleteTime Format: yyyy-MM-dd HH:mm:ss
remark remark
hmac The method for obtaining hmac is shown in "Developers," The parameter sequence is spliced from A-Z with the initials of key name, and The corresponding key values are separated by #.

Sample

{ "status": "SUCCESS", "merchantId": "888", " orderRequestId ": "20190813-888-12345", "requestId": "12345", "bankNumber": "1234567", "refundId": "34565", "amount": "1.00", "currency": "CNY", "refundSubmissionTime": "2019-08-13 21:30:02", "refundCompleteTime": "2019-08-13 21:30:05", "remark": "test", "hmac": " af291df5d288690d2b7d7bcff7dc5a74447ce1502c1edcc9293051bb6a517d68 6fbb31de72bfd14938d474fa6dd0afb82a2c222a6a345e41683d456a142e3376 c5c8f07dc5bc92dd5b09af316fa478a003189ed4d4c956d33162de11a8aec8ab 6abcf66b19833302780cffaa25c7e40bb9b2ccc59adc44e3fcb4632bce5d9cf9" }