Create a new account
The closing instant is output only: a body naming closedAt or closed_at at its root is refused with 400 whatever the value it carries, and the stored instant is only ever written by the close command.
Authorizations
JWT bearer token issued by the identity provider.
Headers
Bearer token (forwarded to the service)
Path Parameters
Organization ID (UUID)
Ledger ID (UUID)
Body
100"@treasury_checking"
100"USD"
256"EXT-ACC-12345"
256"Corporate Checking Account"
"deposit"
Response
Created
100"@treasury_checking"
100"USD"
Instant the account was closed, null while it is still open. Output only: it is written exclusively by the close command and is refused as an input field on create and update
"2021-01-01T00:00:00Z"
"2021-01-01T00:00:00Z"
"2021-01-01T00:00:00Z"
256"EXT-ACC-12345"
"00000000-0000-0000-0000-000000000000"
"00000000-0000-0000-0000-000000000000"
256"Corporate Checking Account"
"00000000-0000-0000-0000-000000000000"
"00000000-0000-0000-0000-000000000000"
"00000000-0000-0000-0000-000000000000"
"00000000-0000-0000-0000-000000000000"
"deposit"
"2021-01-01T00:00:00Z"

