Refund

Create a full refund#

POST /fullrefund

Refunds a successful payment. Refund of a transaction in full amount only.

Parameters#

NameTypeRequiredDescription
transactionIDinteger(int64)trueUnique id of the transaction to be refunded
refundReferenceIDstring(50)falseUnique reference that can be used to check the status of this refund.
checkSumstringtrueChecksum of the query string. See Checksum for how the checksum value is calculated

Returns#

NameTypeRequiredDescription
responseCodestringtrueSee Appendix A
transactionIDintegertrueUnique id of the original payment transaction
refundTransactionIDintegertrueUnique id of this refund transaction
refundReferenceIDstringfalseUnique reference of refund
checkSumstringtrueChecksum of the query string. See Checksum for how the checksum value is calculated

Create a partial refund#

POST /partialrefund

Partial refunds a successful payment.

Parameters#

NameTypeRequiredDescription
transactionIDinteger(int64)trueUnique id of the transaction to be refunded
refundReferenceIDstring(50)falseUnique reference that can be used to check the status of this refund.
amountstringtrueAmount to be paid for the transaction. Amount always show two decimal points even if they are zeros. i.e. Amount โ€œ100.00โ€ is defined as โ€œ100.00โ€, Amount โ€œ99.12โ€ is defined as โ€œ99.12โ€.
checkSumstringtrueChecksum of the query string. See Checksum for how the checksum value is calculated

Returns#

NameTypeRequiredDescription
responseCodestringtrueSee Appendix A
transactionIDintegertrueUnique id of the original payment transaction
refundTransactionIDintegertrueUnique id of this refund transaction
refundReferenceIDstringfalseUnique reference of refund
checkSumstringtrueChecksum of the query string. See Checksum for how the checksum value is calculated