API refund
The refund API is used to refund all or part of a credit to the payment option associated with a transaction.
A call to this method can be used to decrease the customer debt after a product return. This will update the customer payment schedule.
Refunds can be requested multiple times within the limit of the full credit amount.
| ResponseCode | ResponseMessage | Comment |
|---|---|---|
| 000 | API Success | |
| 003 | Transaction Key is not an accepted transaction | |
| 009 | Transaction Key has already been refunded | Transaction already in Refunded state |
| 010 | Transaction Key not in Validated status | |
| 011 | refundAmount greater than validatedAmount-refundedAmount | refundAmount and validatedAmount can be found in the responses of confirm, validate, refund and getStatus |
| 022 | TransactionKey does not exist | The pair “merchantTransactionID”, “merchantTransactionDate” does not exist for this partner |
| 908, 915 | Technical error - unable to refund transaction |