Skip to main content
POST
/
ppi
/
wallet
/
details
Get Wallet Details
curl --request POST \
  --url https://api.cashfree.com/ppi/wallet/details \
  --header 'Content-Type: application/json' \
  --header 'x-api-version: <x-api-version>' \
  --header 'x-client-id: <api-key>' \
  --header 'x-client-secret: <api-key>' \
  --data '
{
  "wallet_id": "WALLET936721",
  "user_id": "USER827364",
  "cf_sub_wallet_id": "35246543210987654321"
}
'
{
"user_id": "USER827364",
"cf_program_id": "9876543210987654321",
"wallet_id": "WALLET936721",
"cf_wallet_id": "1234567890123456783",
"wallet_name": "Cashback Wallet",
"sub_wallets": [
{
"cf_sub_wallet_id": "35246543210987654321",
"name": "Gift Wallet",
"type": "GIFT_PPI",
"status": "ACTIVE",
"balance": 500
}
]
}

Authorizations

x-client-id
string
header
required

Your unique client identifier issued by Cashfree.

x-client-secret
string
header
required

The secret key associated with your client ID.

Headers

x-api-version
string
default:2025-11-01
required

API version to be used. Format is in YYYY-MM-DD.

Example:

"2025-11-01"

Body

application/json
wallet_id
string
required

Unique identifier for the wallet, as provided by you during wallet creation.

Example:

"WALLET936721"

user_id
string
required

Unique identifier for the user, as provided by you during PPI user creation.

Example:

"USER827364"

cf_sub_wallet_id
string

Optional sub-wallet ID. If provided, balance will be fetched only for this sub-wallet.

Example:

"35246543210987654321"

Response

Wallet balance fetched successfully.

user_id
string

Unique identifier for the user, as provided by you during PPI user creation.

Example:

"USER827364"

cf_program_id
string

Unique identifier of the PPI program associated with the wallet, as provided by Cashfree.

Example:

"9876543210987654321"

wallet_id
string

Unique identifier for the wallet, as provided by you during wallet creation.

Example:

"WALLET936721"

cf_wallet_id
string

Unique identifier for the wallet, automatically generated by Cashfree after successful wallet creation.

Example:

"1234567890123456783"

wallet_name
string

Name of the wallet.

Example:

"Cashback Wallet"

sub_wallets
object[]

List of sub-wallets created for this wallet.