Corgi BankDocumentation
OpenAPI

Approve (requesting the advance after a fresh capacity check) or reject an advance request (a treasury checker other than its maker)

POST/ledger/collateral/lender-advances/{id}/review

The ledger's guard admits ledger:treasury:write; the store also requires operations:approve, a step-up within five minutes and a checker other than the maker, refused 422 ledger.maker_checker_required. Approval rechecks capacity on the day and sends the request; the same decision by the same checker replays and resends a request whose answer was lost.

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

approvebooleanRequired
reasonstringRequired

Returns

200 OK

The Lender Advance object.

Errors

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

400401403404409412413422424429500503

to move to open esc to close