Corgi BankDocumentation
OpenAPI

Independently approve a full bank trade and atomically reserve cash or custody lot

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

Fresh verified non-API-key staff with both ledger:securities:write and ledger:securities:approve required. Reviewer differs from maker and binds the exact retained request digest. Current controls, bank source, exact governed dealer identity and independently reviewed nonaffiliate classification, and limits are rechecked before actual bank cash or the full custody lot is reserved. Missing, expired or affiliate dealer source refuses approval. Shared writer serialization prevents short or competing full-lot dispositions. 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

content_sha256stringRequired
decisionstringRequired
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