Record the register's effective-dated parameters: the draw approval threshold and the break age that blocks the close, pending independent review (treasury staff)
/ledger/collateral/parametersThe ledger's guard admits ledger:treasury:write on this route and refuses ledger:post; the store admits only verified treasury staff (never a service or an API key) who stepped up within five minutes. draw_approval_threshold_amount is the draw above which a second approver books the advance; break_block_age_days (0 to 365) how old a break or an unreviewed lender statement may be before it blocks the close. With none approved every draw needs a second approver and every open break or unreviewed statement blocks.
Headers
Idempotency-KeystringRequiredSend on every write that creates or changes money or state; a replay with the same key returns the original result with 200.
Body parameters
break_block_age_daysintegerRequiredAn open reconciliation break older than this blocks the bank's close
draw_approval_threshold_amountintegerRequiredA draw above it needs a second treasury approver
effective_datestring · dateRequiredA business date, YYYY-MM-DD
source_refstringRequiredReturns
200 OK
break_block_age_daysintegerRequireddraw_approval_threshold_amountintegerRequiredeffective_datestring · dateRequiredA business date, YYYY-MM-DD
idintegerRequiredmakerstringRequiredrecorded_atstring · date-timeRequiredreviewobject or nullOptionalReviewRecord is a retained review.
5 child attributes
approvebooleanRequiredcheckerstringRequiredjournal_idstringOptionalExample jrnl_2tVh8nqLxq4GbDe0K1F6S9zRcWm
reasonstringRequiredrecorded_atstring · date-timeRequiredsource_refstringRequiredstatusstringRequiredErrors
Every error is a problem document with a stable code. See Errors.
400401403404409412413422424429500503