cURL
curl --request GET \ --url http://localhost:3001/v1/ledger-account \ --header 'Authorization: Bearer <token>'
[ { "id": "<string>", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "accountNumber": "<string>", "name": "<string>" } ]
Get all ledger accounts for the organization.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The response is of type object[].
object[]