Get ledger statement of account
Retrieves a bank-style statement of account showing all ledger movements that affected the merchant's balance for the specified account and date range.
**Features:**
- Opening balance at period start
- Chronological list of all movements (debits and credits)
- Running balance after each movement
- Closing balance at period end
- Human-readable descriptions enriched from order context
**Date Range:**
- Use `from` and `to` parameters in YYYY-MM-DD format
- Maximum range is 365 days
- Granularity parameter controls date cutoffs (daily or monthly)
**Pagination:**
- Uses cursor-based pagination
- The `cursor` from the response can be used to fetch the next page
- Default page size is 50, maximum is 100
**Example:**
`GET /v1/organizations/org3_xxx/merchants/mrc_xxx/accounts/acc_xxx/reports/ledger-statement?from=2025-01-01&to=2025-01-31&granularity=daily&limit=50`
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
organizationId
Organization ID
merchantId
Merchant ID
accountId
Virtual account ID (must be a virtual account)
Headers
x-admin-api-key
Query parameters
from
Start date (YYYY-MM-DD)
to
End date (YYYY-MM-DD)
granularity
Report granularity for date cutoffs
Allowed values:
cursor
Cursor for pagination (from previous response)
limit
Number of items per page
Response
Ledger statement generated successfully
accountId
Virtual account ID
currency
Currency of the account
merchantId
Merchant ID
periodStart
Start of the reporting period
periodEnd
End of the reporting period
openingBalance
Balance at the start of the period
closingBalance
Balance at the end of the period
movements
List of movements in chronological order
pagination
Pagination information
generatedAt
Timestamp when this report was generated