Ledger Accounts
Get ledger account by ID
Changed onReturns a single ledger account. The balance field reflects the current running total in minor currency units.
get/api/ledger-accounts/{id}
Request
- Base URL: http://localhost:4100
- URL: http://localhost:4100/api/ledger-accounts/{id}
- Auth: none required
Path parameters
idstring uuid required
Ledger account ID
Response
Ledger account
Example response
{
"account_holder_id": "02ef9c5f-29e6-48fc-9ec3-7ed57ed351f6",
"balance": 0,
"counterparty_id": "02ef9c5f-29e6-48fc-9ec3-7ed57ed351f6",
"currency": "",
"id": "02ef9c5f-29e6-48fc-9ec3-7ed57ed351f6",
"inserted_at": "2020-04-20T16:20:00Z",
"la_type": "account_holder_root",
"ledger_account_number": "",
"ledger_id": "02ef9c5f-29e6-48fc-9ec3-7ed57ed351f6",
"linked_ledger_accounts": [
null
],
"payment_account_id": "02ef9c5f-29e6-48fc-9ec3-7ed57ed351f6",
"regime": "",
"status": "active",
"tenant_id": "02ef9c5f-29e6-48fc-9ec3-7ed57ed351f6",
"updated_at": "2020-04-20T16:20:00Z"
}Changes
- breaking
removed the required 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 required property
to the response with the status
- breaking