Create Refund

Use this API to initiate refunds.

📘

Sandbox and Production End Point

Sandbox End Point - https://sandbox.cashfree.com/pg
Make sure you generate credentials in the test dashboard.

Production End Point - https://api.cashfree.com/pg
To process live payments, make sure you use credentials from the live dashboard. Do not share your secret key with anyone.

Partner Authentication for API calls - More details available here.

Refund Status

When you trigger a refund, a refund goes through various states, they are listed below:

Refund StatusDescription
PENDINGThis state indicates that the refund is pending.
SUCCESSThis state indicates that the refund is processed successfully to the customer account.
CANCELLEDThis state indicates that the refund has been cancelled.
ONHOLDThis state indicates that the refund has been put on hold.
FAILEDThis state indicates that the refund has failed. A few reasons why refunds fail are listed below:
1. If the beneficiary account is inactive or frozen, refunds cannot be processed.
2. If there is no sufficient balance in your account.
Language
Authorization
URL
Click Try It! to start a request and see the response here!