Ledger Accounts
Create ledger account
Changed onCreates a new ledger account within a ledger.
One ledger account per ledger per account_type (enforced by unique constraint). Currency is inherited from the parent ledger — provide the matching ISO 4217 code. Balance starts at 0 and is maintained atomically by the Ledger Entry system.
post/api/ledger-accounts
Request
- Base URL: http://localhost:4100
- URL: http://localhost:4100/api/ledger-accounts
- Auth: none required
Request body
Example request
{
"account_holder_id": "02ef9c5f-29e6-48fc-9ec3-7ed57ed351f6",
"counterparty_id": "02ef9c5f-29e6-48fc-9ec3-7ed57ed351f6",
"currency": "",
"la_type": "account_holder_root",
"ledger_account_number": "",
"ledger_id": "02ef9c5f-29e6-48fc-9ec3-7ed57ed351f6",
"payment_account_id": "02ef9c5f-29e6-48fc-9ec3-7ed57ed351f6",
"regime": "",
"status": "active",
"tenant_id": "02ef9c5f-29e6-48fc-9ec3-7ed57ed351f6"
}Changes
- breaking
added the new required request property
- warning
removed the request property
- warning
removed the request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- breaking