Skip to main content
GET
/
v1
/
ledger-account
Get ledger accounts
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>"
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json
accountNumber
string
required

Account number of the ledger account

name
string
required

Name of the ledger account

id
string

The unique identifier of the entity.

createdAt
string<date-time>

The date and time the entity was created.

updatedAt
string<date-time>

The date and time the entity was last updated.