Browse documentation
List recent account ledger entries
GET /v1/account/ledger
Returns recent balance history, topups, debit events, and adjustment audit trails.
When to use it
Use this endpoint for customer-facing usage pages and internal credit-audit tools.
Authentication and billing
- Requires
X-API-Keyorapi_key. - Credit cost: Free. Non-billable account route.
- See pricing for plan allowances and full billing details.
Request
This endpoint does not require a request body.
| Field | Location | Required | Notes |
|---|---|---|---|
limit | query | No | How many most-recent ledger rows to return. Defaults to 50. |
api_key | query | No | Optional alternative to the X-API-Key header. Prefer the header for server-side applications. |
Response
Returns ledger entries newest first.
{
"data": [
{
"account_id": "acct_acme_growth",
"amount": 12,
"api_key": "ak_live_growth_primary",
"balance_after": 12240,
"created_at": "2026-05-11T10:25:14+00:00",
"entry_id": "ledg_20260511_0001",
"entry_type": "debit",
"metadata": {
"page": 1,
"symbols": [
"MEDIASSIST",
"TCS"
]
},
"reference_id": "req_7f91ab2c",
"request_details_available": true,
"request_id": "1f8f0be3c14e4c2a9c0dc0bb8f1d2e3f",
"route_id": "announcements_summary"
}
]
}Request pattern
curl -G "https://developers.manasija.in/v1/account/ledger" \
-H "X-API-Key: $DRISHTI_API_KEY" \
--data-urlencode "limit=25"JavaScript / TypeScript SDK
const ledger = await client.getAccountLedger({ limit: 25 })Python SDK
ledger = client.get_account_ledger(limit=25)Interactive reference
Use the Scalar API client for executable requests, schemas, and the full OpenAPI contract.