Corgi BankDocumentation
OpenAPI

Cancel an undispatched bank repo and release only local reservations

POST/bank-repos/{id}/cancel

Fresh verified staff with ledger:repo:write is required. Only an undispatched proposed or approved repo can cancel and release local reservations. Exact cancellation actor and reason are retained for immutable replay. A dispatched borrowing, actual debt or actual custody pledge cannot be canceled into a fictional return of cash or collateral. 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

reasonstringRequired

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