Corgi BankDocumentation
OpenAPI

Resell a reverse repo at maturity or unwind it early: the counterparty's cash — principal plus interest earned — comes back and the resale asset clears (treasury staff)

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

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. Accrues through the unwind then takes the counterparty's cash — principal plus interest earned — back into the master account and clears the resale asset. No second approver. The body is empty.

Path parameters

idstringRequired

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.

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