Close Wallet
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:
- Any remaining balance is handled according to the configured closure policy.
Closure Status Descriptions
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. |
Authorizations
Your unique client identifier issued by Cashfree. You can find this in your Merchant Dashboard.
The secret key associated with your client ID. Use this to authenticate your API requests. You can find this in your Merchant Dashboard.
Headers
API version to be used. Format is in YYYY-MM-DD.
"2025-11-01"
Body
Request parameters to close a user's wallet.
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"
Optional key-value pairs for any extra information. Keys and values must be strings.
Response
Success response for closing a wallet.
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"
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 approval
SUCCESS, PENDING, APPROVAL_PENDING "SUCCESS"
Remarks for the closure transaction.
"Wallet Closure"
Optional key-value pairs for any extra information. Keys and values must be strings.
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"