Skip to main content
You can refund a transaction easily with our APIs. To initiate a refund, send a request to the refund endpoint with the transaction ID in the URL. You can also specify the amount to be refunded in the body if you wish to make a partial refund.
The refund amount will be deducted from your available balance. Additionally, you can attach a note to the refund by specifying comments.
The above code will initiate the refund process, and you will get a similar response to the one below:
Refunded transactions can have different statuses depending on the payment type. Here are other refund statuses.