Skip to main content
POST
/
ppi
/
wallet
/
statement
Get Wallet Statement
curl --request POST \
  --url https://api.cashfree.com/ppi/wallet/statement \
  --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 '
{
  "user_id": "USER827364",
  "wallet_id": "WALLET124",
  "cf_sub_wallet_id": "5432109876543210987"
}
'
{
"wallet_id": "WALLET124",
"user_id": "USER827364",
"has_next": true,
"has_prev": false,
"sub_wallet": {
"cf_sub_wallet_id": "5432109876543210987",
"name": "Gift Wallet",
"type": "GIFT_PPI",
"status": "ACTIVE",
"balance": 1500.75
},
"statement_period": {
"from": "2025-06-01T00:00:00Z",
"to": "2025-12-01T00:00:00Z"
},
"statements": [
{
"flow_type": "CREDIT",
"cf_statement_id": "8901234567890123406",
"credit_id": "CREDIT126345",
"cf_credit_id": "8901234567890123456",
"amount": 100.5,
"closing_balance": 2100.75,
"issued_gift_code": {
"code": "GIFT-2025-XYZ123",
"value": 100.5,
"expiry": "2026-06-15T10:15:45Z"
},
"event_type": "RECHARGE",
"remarks": "Recharge for order 123",
"initiated_at": "2025-06-15T10:15:30Z",
"processed_at": "2025-06-15T10:15:45Z"
},
{
"flow_type": "DEBIT",
"cf_statement_id": "8901234567890123405",
"debit_id": "DEBIT420984",
"cf_debit_id": "890123456789012345",
"amount": 600,
"closing_balance": 1500.75,
"applied_gift_codes": [
{
"code": "GIFT-2025-XYZ213",
"amount_debited": 100,
"value": 100,
"expiry": "2026-07-28T10:30:00Z"
},
{
"code": "GIFT-2025-XYZ444",
"amount_debited": 500,
"value": 600,
"expiry": "2026-07-29T10:30:00Z"
}
],
"event_type": "DEBIT",
"remarks": "Purchase of phone cover",
"initiated_at": "2025-06-14T09:10:00Z",
"processed_at": "2025-06-14T09:10:15Z"
}
]
}

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
user_id
string
required

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

Maximum string length: 50
wallet_id
string
required

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

Maximum string length: 50
Example:

"WALLET124"

cf_sub_wallet_id
string
required

Unique identifier for the sub-wallet provided in response while creating the wallet.

Maximum string length: 50
Example:

"5432109876543210987"

from
string<date-time>

Start date for the wallet statement in UTC. If not provided, the API defaults to 6 months before the current date-time. It cannot be earlier than 1 year from the current date

Example:

"2025-01-01T00:00:00Z"

to
string<date-time>

End date for the wallet statement in UTC. If not provided, the API defaults to the current date-time. Cannot be greater than the current date-time.

Example:

"2025-02-01T00:00:00Z"

limit
integer

Maximum number of records to return. Default value is 10.

Required range: x <= 50
Example:

10

after
string

The cf_statement_id after which statement should be fetched. When after is provided, the before parameter must not be used.

Example:

"5432109876543210987"

before
string

The cf_statement_id before which statement should be fetched. When before is provided, the after parameter must not be used.

Example:

"5432109876543210987"

Response

Statement fetched successfully

wallet_id
string

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

Example:

"WALLET124"

user_id
string

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

Example:

"USER827364"

has_next
boolean

Indicates whether there are additional transactions after the current set within the requested statement period.

Example:

true

has_prev
boolean

Indicates whether there are additional transactions before the current set within the requested statement period..

Example:

true

sub_wallet
object
statement_period
object
statements
object[]