Corgi BankDocumentation
OpenAPI

Recover one step of the oldest due close; fresh staff step-up required

POST/close-runs/advance

Requires operations:write and a staff identity with operations:approve, no API key, and authentication within five minutes. Advances only one step of the oldest due approved close; accepts no date, step or dependency override. A blocked result retains the exact step, the problem code in last_error and the module's own words in last_reason; each attempt record carries its reason when blocked and the admitted source's source_sha256 when the module's source carries one. Idle or disabled scheduling returns an empty run.

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

bystringRequired

Returns

200 OK

The Bank Close object.

Errors

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

400401403404409412413422424429500503

to move to open esc to close