Refund Query Interfa

Description

This interface is used for merchants to query the status of the refund

Request Endpoint

https://apis.5upay.com/foreignExchange/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 backend portal to check M
requestId varchar(50) The order number is generated by the merchant and the order number must be unique on the platform transaction. Request/order which had been paid or canceled in Payease's platform can't be submitted with same request ID. M
hmac varchar(500) The result of parameter signature,generated by the merchant.For the method of obtaining hmac,please reference to the section "Developers" M

Sample

{ "merchantId": "100000050", "requestId": "1527756058867", "hmac": "UZYjA/bik4TNL9aYSHajULOJxDSJkFyYfDNFxJxYCG1Zyi9s16uvSRmj07M3ax76 JG6STpWc/kyb36mWmg8X8gduvd39NupWK/zJErbgYffOmOd6YpmrvTQhbPioxLN8Ras9J9zkL 7uQ3cTOaLAHOeAQh7Aps3EFJ8MMh+sY4UwIl25h3PEkbBy2sBoug+ZpgLYDXTULrBY7OQ7cLT czfe5DOxJHLGSMpinHaVFOvQaodR8yZdAygDyfDPm16mKDBBV9NsRsGc0pNXZq+gz0hvTq1dL w+WygTVH8VPFN01bPVHQjxJd3M041kE9ABF/vAP1ExXtSNCevRrAjyyRi4Q==" }

Synchronous Returned Field

Name Description
merchantId Same as the request's parameters
requestId Same as the request's parameters
serialNumber The refund serial number of PayEase system
orderId Original order serial number
status INIT
SUCCESS
FAILED
amount Unit: China Fen, 1yuan =100 fe
currency Please refer to the section "Currency List"
completeDateTime Refund completion time
errorMessage Error Message
hmac The result of parameter signature,generated by the merchant.For the method of obtaining hmac,please reference to the section "Developers"

Sample

{ "merchantId": "100000050", "requestId": "1506333222530", "serialNumber": "8a7df26c5e74e383015eb87509ab3b4a", "orderId": "525b756c0800450b9286fbfd297fdb95", "amount": "10", "currency": "CNY", "completeDateTime": "2017-09-25 18:00:03", "status": "SUCCESS", "hmac": "UZYjA/bik4TNL9aYSHajULOJxDSJkFyYfDNFxJxYCG1Zyi9s16uvSRmj07M 3ax76JG6STpWc/kyb36mWmg8X8gduvd39NupWK/zJErbgYffOmOd6YpmrvTQhbPioxLN 8Ras9J9zkL7uQ3cTOaLAHOeAQh7Aps3EFJ8MMh+sY4UwIl25h3PEkbBy2sBoug+ZpgLY DXTULrBY7OQ7cLTczfe5DOxJHLGSMpinHaVFOvQaodR8yZdAygDyfDPm16mKDBBV9NsR sGc0pNXZq+gz0hvTq1dLw+WygTVH8VPFN01bPVHQjxJd3M041kE9ABF/vAP1ExXtSNCe vRrAjyyRi4Q==" }