Corgi BankDocumentation
OpenAPI

Hand-enter the Federal Reserve's interest credit for an accrued period (treasury staff; the contingency when no Statement of Account arrives, settled only on review)

POST/ledger/reserve-interest/settlements

Record the Federal Reserve's credit of the accrued interest, entered by treasury staff. The ledger's guard admits ledger:treasury:write; the store admits only a verified staff person with that scope and a step-up within five minutes. A credit that matches the accrued whole cents settles the period; one that differs is held for independent review. An idempotency key is required.

Headers

Idempotency-KeystringRequired

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

amountintegerRequired
currency_codestringRequired
period_endstring · dateRequired

A business date, YYYY-MM-DD

period_startstring · dateRequired

A business date, YYYY-MM-DD

referencestringRequired

Returns

200 OK

accrual_matchedbooleanRequired

The credit equals the accrual rounded to the cent

accruedstringRequired

The period's accrual, dollars to eight places

amountintegerRequired
currency_codestringRequired
difference_amountintegerRequired

The credit less that accrual

expected_amountintegerRequired

That accrual rounded to the cent

idintegerRequired
journal_idstringOptional

Example jrnl_2tVh8nqLxq4GbDe0K1F6S9zRcWm

makerstringRequired
matchedbooleanRequired

Settled when recorded (statement credits before proposals were reviewed)

period_endstring · dateRequired

A business date, YYYY-MM-DD

period_startstring · dateRequired

A business date, YYYY-MM-DD

recorded_atstring · date-timeRequired
referencestringRequired
reviewobject or nullOptional

ReserveReviewRecord is a retained review.

5 child attributes
approvebooleanRequired
checkerstringRequired

The verified treasury checker, never the maker

journal_idstringOptional

Example jrnl_2tVh8nqLxq4GbDe0K1F6S9zRcWm

reasonstringRequired
recorded_atstring · date-timeRequired
sourcestringRequired

Fed_statement (the Fed account statement) or treasury (entered by hand)

statement_refstringOptional
statusstringRequired

Errors

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

400401403404409412413422424429500503

to move to open esc to close