Get Wallet Details
Use this API to fetch wallet details and associated sub-wallet balances for a specified user. You can query by wallet ID, card ID, or a combination of either with a sub-wallet ID.
Request parameters
Request parameters
user_id is always required. You must also provide one of the following identifier combinations.| Combination | Required parameters |
|---|---|
| By wallet | user_id, wallet_id |
| By card | user_id, card_id |
| By wallet and sub-wallet | user_id, wallet_id, cf_sub_wallet_id |
| By card and sub-wallet | user_id, card_id, cf_sub_wallet_id |
Response behaviour
Response behaviour
- If you provide
wallet_idand the wallet has no associated card, the response returns wallet and sub-wallet details only. - If you provide
wallet_idand the wallet has an associated card, the response also includes card details. - If you provide
card_id, the response includes card details alongside wallet and sub-wallet details. - If you provide both
wallet_idandcf_sub_wallet_id, the response returns details for the specified sub-wallet only. - If you provide both
card_idandcf_sub_wallet_id, the response returns details for the specified sub-wallet along with wallet and card details.
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 fetch wallet and sub-wallet details, including current balances, for a user.
Unique identifier for the user, as provided by you during PPI user creation.
"USER827364"
Unique identifier for the wallet, as provided by you during wallet creation.
"WALLET936721"
Unique identifier for the card, as provided by you during card creation.
"CARDR827364"
Optional sub-wallet ID. If provided, the response includes only this sub-wallet's balance.
"35246543210987654321"
Response
Success response for fetching wallet details.
Unique identifier for the user, as provided by you during PPI user creation.
"USER827364"
Unique identifier of the PPI program associated with the wallet, as provided by Cashfree.
"9876543210987654321"
Unique identifier for the wallet, as provided by you during wallet creation.
"WALLET936721"
Unique identifier for the wallet, automatically generated by Cashfree after successful wallet creation.
"1234567890123456783"
Name of the wallet.
"Cashback Wallet"
List of sub-wallets created for this wallet.
Card details associated with the wallet, if a card exists.