curl --request GET \
--url http://localhost:3001/v1/ledger-account \
--header 'Authorization: Bearer <token>'{
"data": [
{
"accountNumber": "<string>",
"name": "<string>",
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"meta": {
"page": 123,
"take": 123,
"itemCount": 123,
"pageCount": 123,
"hasPreviousPage": true,
"hasNextPage": true
}
}Get a paginated list of ledger accounts for the organization.
curl --request GET \
--url http://localhost:3001/v1/ledger-account \
--header 'Authorization: Bearer <token>'{
"data": [
{
"accountNumber": "<string>",
"name": "<string>",
"id": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"meta": {
"page": 123,
"take": 123,
"itemCount": 123,
"pageCount": 123,
"hasPreviousPage": true,
"hasNextPage": true
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Choose between ascending and descending order.
ASC, DESC Specify the number of the page you want to retrieve.
x >= 1Specify the number of items you want to retrieve per page.
1 <= x <= 100The search term to look for in the ledger account list.
Specify the field you want to order by.
Choose between ascending and descending order.
Was this page helpful?