Corgi BankDocumentation
OpenAPI

Cancel an undispatched bank trade and release exact reservations

POST/ledger/securities/orders/{id}/cancel

Fresh verified non-API-key staff with ledger:securities:write required. Requires a bounded note. Only undispatched work can cancel locally; exact actor/note replay remains retained. Dispatched work requires signed zero-fill rejection/cancellation, with no cash or units, rather than a timeout assumption. All mutations require verified authority even in local mode; customers and API keys are refused. Evidence JSON is strict and bounded at 5 MiB; complete responses are bounded at 16 MiB and never silently truncated.

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

notestringRequired

Returns

200 OK

The Bank Securities Order object.

Errors

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

400401403404409412413422424429500503

to move to open esc to close