Corgi BankDocumentation
OpenAPI

Recognise the interest a reverse repo has earned through a boundary date (today by default) into the resale asset and interest income (treasury staff)

POST/ledger/reverse-repos/{id}/accruals

The 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. Recognises interest earned through through (today by default, never past maturity) into the resale asset and interest income. The same boundary posts nothing.

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

throughstringOptional

YYYY-MM-DD; omitted means today, never past maturity

Returns

200 OK

The Reverse Repo object.

Errors

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

400401403404409412413422424429500503

to move to open esc to close