Closes a user’s sub-wallet, making it inactive for future transactions. The closure process may require approval depending on the sub-wallet type and business rules:
Closure Status Descriptions
| Status | Description |
|---|---|
SUCCESS | The wallet closure has been processed successfully and the sub-wallet is now inactive. All remaining balance has been handled according to the closure policy. |
PENDING | The closure request has been accepted and is currently being processed. |
APPROVAL_PENDING | The closure request requires manual approval. |
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 closure transaction in your system. Maximum 50 characters. Only alphanumeric characters, periods (.), hyphens (-), and underscores (_) are allowed.
1 - 50"CLOSURE420984"
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 to be closed.
1 - 50"35246543210987654321"
Additional remarks for the closure request. Alphanumeric and whitespaces are allowed. The maximum character limit is 500.
500"Wallet Closure"
Additional key-value pairs for any extra information you want to store for this closure transaction. This is optional.
{
"example_key1": "example_value1",
"example_key2": "example_value2"
}
Wallet closure request processed successfully.
Unique identifier for the closure transaction, as provided by you during the closure request.
"CLOSURE420984"
Unique identifier for the user, as provided by you during PPI user creation.
"USER827364"
Unique identifier for the closure transaction, generated by Cashfree.
"8901234567890123456"
Primary wallet ID from which the sub-wallet is being closed.
"WALLET936721"
Sub-wallet details that is being closed.
Status of the refund operation:
SUCCESS: Closure has been processed successfully.PENDING: Closure is being processed and will be completed shortlyAPPROVAL_PENDING : closure requires manual approvalSUCCESS, PENDING, APPROVAL_PENDING "SUCCESS"
Remarks for the closure transaction.
"Wallet Closure"
key-value pairs of any extra information shared during closure transaction.
{
"example_key1": "example_value1",
"example_key2": "example_value2"
}
Timestamp when the closure transaction was initiated.
"2025-07-28T10:30:00Z"
Timestamp when the closure transaction was processed. Null if still pending.
"2025-07-28T10:30:00Z"