This API enables you process refund to a customer for a transaction.
...
Info | ||
---|---|---|
| ||
POST: https://sandbox.monnify.com/api/v1/refunds/initiate-refund |
Please note that this endpoint is protected using OAuth2 Token. Visit Authentication section of this document for details on OAuth2 Token.
...
When refund is initiated, the following response codes may be returned.
Response Code | Response Message | Action |
0 | Request is received successfully and will be processed. | |
R1 | Transaction with specified reference does not exist. | |
R2 | Refund not permitted for specified transaction. | |
R3 | Specified refund amount is above transaction amount. | |
R4 | Specified refund amount is below minimum refund amount. | |
R5 | Merchant does not have sufficient funds to process refund. | |
R6 | Customer account details are invalid. | Include the customer's valid destinationAccountNumber and destinationAccountBankCode in your request body |
R7 | No refund was initiated with the supplied refund reference. | Verify that the supplied refund reference is valid |
R8 | supplied value has exceeded the maximum allowed number of characters. | |
R9 | Supplied refund reference already exists for the merchant. | |
R10 | Merchant account balance could not be retrieved. | |
R11 | Name inquiry network error. | |
R12 | The total amount of all refunds done on a particular transaction has exceeded the transaction amount. | |
M01 | System error. Contact support. | |
M02 | System error. Contact support. |