List ledger entries
Changed onReturns a paginated list of ledger entries scoped to the authenticated tenant.
Supports Flop pagination and filtering:
- page - Page number (1-indexed, default: 1)
- page_size - Items per page (default: 20, max: 100)
- order_by - Field to sort by
- order_directions - Sort direction (asc or desc)
- filters - Flop filters (ledger_account_id, account_holder_id, entry_type, status)
Request
- Base URL: http://localhost:4100
- URL: http://localhost:4100/api/ledger-entries
- Auth: none required
Query parameters
Page number (1-indexed)
Items per page (max: 100)
Field to sort by
Sort direction (asc or desc)
Response
Ledger entry list
Example response
{
"data": [
{
"account_holder_id": "02ef9c5f-29e6-48fc-9ec3-7ed57ed351f6",
"amount": 0,
"currency": "",
"entry_date": "2020-04-20",
"entry_type": "credit",
"external_entry_id": "",
"id": "02ef9c5f-29e6-48fc-9ec3-7ed57ed351f6",
"inserted_at": "2020-04-20T16:20:00Z",
"ledger_account_id": "02ef9c5f-29e6-48fc-9ec3-7ed57ed351f6",
"limits_at_entry": [
null
],
"rejected_code": "",
"rejected_direction": "debit",
"rejected_ledger_account_id": "02ef9c5f-29e6-48fc-9ec3-7ed57ed351f6",
"rejected_period": "daily",
"rejected_rule": "",
"status": "pending",
"tenant_id": "02ef9c5f-29e6-48fc-9ec3-7ed57ed351f6",
"updated_at": "2020-04-20T16:20:00Z"
}
],
"meta": {
"page": 1,
"page_size": 50,
"total_count": 125,
"total_pages": 3
}
}Changes
- warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - warning
removed the optional property
//from the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- warning