Processes a refund for a previously debited transaction from a user’s sub-wallet. The refund operation credits the amount back to the user’s sub-wallet, effectively reversing a debit transaction:
GIFT_PPI: Credits amount back to gift wallet.CLOSED_PPI and SMALL_PPI: Credits amount back to the respective sub-wallet.Refund Status Descriptions
| Status | Description |
|---|---|
SUCCESS | The refund has been processed successfully and the amount has been credited back to the user’s sub-wallet. The transaction is complete. |
PENDING | The refund request has been accepted and is currently being processed. The amount will be credited to the wallet shortly. Check the status later or wait for webhook notification. |
Your unique client identifier issued by Cashfree.
The secret key associated with your client ID.
API version to be used. Format is in YYYY-MM-DD.
"2025-11-01"
Unique identifier that you create to identify the refund transaction in your system. Maximum 50 characters. Only alphanumeric characters, periods (.), hyphens (-), and underscores (_) are allowed.
1 - 50"REFUND420984"
Unique identifier of the original debit transaction for which the refund is being initiated.
1 - 50"DEBIT1244"
Unique identifier for the user, as provided by you during PPI user creation.
1 - 50"USER827364"
Unique identifier for the wallet, as provided by you during wallet creation.
1 - 50"WALLET936721"
Unique identifier of the sub-wallet from which the original debit was made and to which the refund will be credited.
1 - 50"35246543210987654321"
Amount to refund. Decimal values are allowed. The amount should be greater than 0 and cannot exceed the original debit amount or the remaining refundable amount.
x >= 0.01100.5
Additional remarks for the refund request. Alphanumeric and whitespaces are allowed. The maximum character limit is 500.
500"Wallet Refund"
Additional key-value pairs for any extra information you want to store for this refund transaction. This is optional.
{
"example_key1": "example_value1",
"example_key2": "example_value2"
}Wallet refund request processed successfully.
Unique identifier for the refund transaction, as provided by you during the refund request.
"REFUND420984"
Unique identifier of the original debit transaction for which this refund was initiated.
"DEBIT1244"
Unique identifier for the refund transaction, generated by Cashfree.
"8901234567890123456"
Unique identifier for the user, as provided by you during PPI user creation.
"USER827364"
Primary wallet ID to which the refund amount has been credited.
"WALLET936721"
Sub-wallet details to which the refund amount has been credited.
Status of the refund operation:
SUCCESS: Refund has been processed successfully and amount credited to walletPENDING: Refund is being processed and will be credited shortlySUCCESS, PENDING "SUCCESS"
List of gift codes that were refunded in the transaction. This is applicable only for GIFT_PPI type wallets and when the refund is successful.
Amount that was refunded to the wallet.
100.5
Remarks for the refund transaction.
"Wallet Refund"
key-value pairs of any extra information shared during refund transaction.
{
"example_key1": "example_value1",
"example_key2": "example_value2"
}Timestamp when the refund transaction was initiated.
"2025-07-28T10:30:00Z"
Timestamp when the refund transaction was processed. Will be null if status is PENDING.
"2025-07-28T10:30:00Z"