Corgi BankDocumentation
OpenAPI

Propose suspending, reactivating, closing or terminating a correspondent or nostro account

POST/ledger/correspondent/control-changes

Correspondent banking authority: staff reads need ledger:correspondent:read (or ledger:read), writes need ledger:correspondent:write with a verified non-API-key staff identity and a step-up within five minutes, and a review also needs ledger:correspondent:approve and a different person from the maker. Nostro and correspondent ledger accounts are opened, posted and closed only through this module.

Headers

Idempotency-KeystringRequired

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
statusstringRequired
target_idstringRequired
target_kindstringRequired

Correspondent or nostro_account

Returns

200 OK

from_statusstringRequired
idstringRequired
makerstringRequired
reasonstringRequired
recorded_atstring · date-timeRequired
reviewobject or nullOptional

ReviewRecord is a retained decision.

4 child attributes
approvebooleanRequired
checkerstringRequired
reasonstringRequired
recorded_atstring · date-timeRequired
review_statusstringRequired
statusstringRequired
target_idstringRequired
target_kindstringRequired

Correspondent or nostro_account

Errors

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

400401403404409412413422424429500503

to move to open esc to close