Request URL

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

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
versionstringRY1.0
tradeOrderNostringRYoriginal orderNo
refundAmountstringRYrefund amount,
unit in cents (i.e. 100 = $1)
currencystringRYUSD, EUR, GBP, JPY
reasonstringRNreason to refund

Http response

ElementData TypeSignedRemarks
merchantNostringYmerchant unique ID, once a merchant has been on-boarded with Alchemy Pay, the merchant will be provided with the credentials
merchantOrderNostringYmerchant defined transaction ID, must be unique for each request.
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