Ledger Accounts
Update ledger account (full replacement)
Changed onUpdates an existing ledger account using PUT semantics (full replacement).
NOTE: balance is read-only and cannot be updated through this endpoint. Use the Ledger Entry endpoints to create debit/credit entries that atomically update the balance.
put/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
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