Corgi BankDocumentation
OpenAPI

Accrue fixed contractual interest through an exclusive start-of-day boundary

POST/bank-repos/{id}/accruals

Fresh verified staff with ledger:repo:write is required. Accrues fixed simple actual/360 or actual/365 interest using cumulative integer cent rounding to the exclusive start of to_date. Closing D requires D+1. Contractual dates never reset to a delayed funding receipt; unknown default accrual is not silently zero. Every route requires verified non-API-key authority even locally; customer actors are refused. JSON evidence is one strict object bounded at 5 MiB. Complete responses are bounded at 16 MiB and fail explicitly without truncation.

Path parameters

idstringRequired

Headers

Idempotency-KeystringOptional

Send on every write that creates or changes money or state; a replay with the same key returns the original result with 200.

Body parameters

to_datestring · dateRequired

A business date, YYYY-MM-DD

Returns

200 OK

The Bank Repo object.

Errors

Every error is a problem document with a stable code. See Errors.

400401403404409412413422424429500503

to move to open esc to close