Refund Enquiry

Request URL

https://payment.alchemytech.cc/nh-gateway/card/refundQuery

Http method

  • POST
  • Content-Type: application/x-www-form-urlencoded

Http request

ElementData TypeRequiredSignedRemarks
merchantNostringRYmerchant unique ID, once a merchant has been on-boarded with Alchemy Pay, the merchant will be provided with the credentials
timeStampstringRYGMT time with 13 digit to represent time in milliseconds
languagestringONen
signstringRNsignature with RsaUtil.sign method
merchantOrderNostringRYmerchant defined transaction ID, must be unique for each request

Http response

ElementData TypeSignedRemarks
merchantNostringY
merchantOrderNostringYmerchant unique ID, once a merchant has been on-boarded with Alchemy Pay, the merchant will be provided with the credentials
refundOrderNostringYAlchemy Pay defined refund ID, used to cancel refund
tradeOrderNostringYoriginal orderNo
currencystringYUSD, EUR, GBP, JPY
refundAmountstringYrefund amount,
unit in cents (i.e. 100 = $1)
refundFeestringYrefund fee, unit in cents (i.e. 100 = $1)
refundStatusstringYrefund status
SUCCESS/FAIL/ PENDING/CANCEL
createTimelongNrefund receive time
refundTimelongNrefund complete time
signstringNsignature with RsaUtil.sign method