Payment Refund Query Interface

Description

Geoswift aggregated payment refund query interface is used for merchants to query the refund details.

Request Interface

https://apis.geoswift.com/cp/refundQuery

Name Type& Max Description Requirement
merchantId varchar(9) The unique identity of the merchant ID in Geoswift system. M
partnerId varchar(9) The unique ID of the service provider in the Geoswift system C
requestId varchar(50) The refund order number is generated by the merchant, the order number must be the unique on the transaction platform. Request/order which had been paid or canceled in Geoswift's platform can’t be submitted with the 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 "Geoswift encryption and decryption process specification" M

The preceding parameter values cannot contain the following special characters: '" &<>()

Sample

{ "merchantId":"G90008005", "requestId":"2c9980727a31dfd6017a32560ccd0009", "hmac":"Y1pf4jdnV/oYuLUBBYOM5cRPpwpotnMaMxB8O91ihqjXtTIZ6dJkgz945KgTQ+w +5pbLtGBqbzjB11HzywKMOZw03JHdlOc/v8ptVNz5yUPGQ2qdDdY6tH1atnFzhtKK7LR8fcz/ Dizth4DR8Aq4dyB+uV+UNNVJGmEDIdmFAYpGp78J3hBgDjImCMUiV2+7b+jLX/acIosiT1P XjN9kSaHlRzTjz/gfb6DfaypIbp2LpdFzy4OUPIpyXLXbjQRSS652dAMLIArbhszKtUNmvo3Zi NipxOVoDIW/2RGiWBsaFbWM5Jl+X0Sgp2EOvxQ3gRzViVVqVkicWYTQ531+/g==" }

Synchronous Returned Parameter Fields

Name Description
merchantId The unique identity of the merchant ID in Geoswift system.
partnerId The unique ID of the service provider in the Geoswift system
requestId The refund order number is generated by the merchant, the order number must be the unique on the transaction platform. Request/order which had been paid or canceled in Geoswift's platform can’t be submitted with the same request ID.
serialNumber Serial Number of the request in Geoswift's platform
bankRequestNumber Serial number for requesting bank
status Refund status
INIT
SUCCESS
FAILED
amount When the currency is JPY, KRW or VND, the unit of amount is Yuan, the unit of other currencies is China Fen, 1 Yuan = 100 Fen
currency Reference to the currency list table in the appendix
completeDateTime Completion time
remark remark
errorMessage Error message
actualRefundAmount Actual refund amount,when the actualRefundCurrency is JPY, KRW or VND, the unit of actualRefundAmount is Yuan, the unit of other currencies is China Fen, 1 Yuan = 100 Fen
actualRefundCurrency Reference to the currency list table in the appendix
refundFeeAmount Refund fee amount,when the refundFeeCurrency is JPY, KRW or VND, the unit of refundFeeAmount is Yuan, the unit of other currencies is China Fen, 1 Yuan = 100 Fen
refundFeeCurrency The currecy of the refund fee; Reference to the currency list table in the appendix
hmac The result of parameter signature,generated by Geoswift. For the signature verification process,please reference to "Geoswift encryption and decryption process specification"

Sample

{ "actualRefundAmount": "101", "actualRefundCurrency": "USD", "amount": "101", "completeDateTime": "2021-06-22 14:10:33", "currency": "USD", "merchantId": "G90008005", "remark": "核查拒绝自动退款", "requestId": "2c9980727a31dfd6017a32560ccd0009", "serialNumber": "1624342134096", "status": "SUCCESS", "hmac": "juhgRm/EpquYBqPwW+nMx+Frjxeyi1SZNwOsDkGGb7ytPI2owTHprugBrG5OiJjld8bSH nMHpb+MlnlXyxXZ1JYUxxwdWfSk9PTNbkdG5cp7DcM0V/Q+vj198+pHSzcd+sisuUzzFs/pK3zXZ3K Y4nj5rP8UvqAPnHAsUa5XOxwjF1LabwL8FsPcclnsnop15K11ZGSWfaG0VMKZ6+CjZvIYI/EOqJhS/ wgcDVCjFnSscieQb4y8QbmxzZBvOWFWbnHpua6GKxl19DAi08Qcr1n87sX9rfWRkJgKxOD6ZXsJi0+ Fmsk8S+mgxUhhe0LXZR9XvxzOnCOyvjURCBu+tA==" }