Corgi BankDocumentation
OpenAPI

Approve (executing the resolution) or reject a break proposal

POST/ledger/correspondent/break-proposals/{id}/reviews

Approval executes the resolution in the same transaction: a manual match, an adjustment journal against the reviewed GL and its match, an accepted timing difference, or the dismissal of a chain or evidence break. The checker must differ from the maker, hold ledger:correspondent:approve and have stepped up; the break must still be the version proposed on. A break about money on the account cannot be dismissed.

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

actionstringRequired
break_idstringRequired
break_versionintegerRequired
clears_bystring · date or nullOptional

Accept_timing

gl_codestringOptional

Post_adjustment

idstringRequired
journal_idstringOptional

Example jrnl_2tVh8nqLxq4GbDe0K1F6S9zRcWm

ledger_refsarray of stringsOptional

Match: the ledger items

makerstringRequired
notestringRequired
recorded_atstring · date-timeRequired
reviewobject or nullOptional

ReviewRecord is a retained decision.

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

Pending_review, approved or rejected

statement_refsarray of stringsOptional

Match: the other statement items

Errors

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

400401403404409412413422424429500503

to move to open esc to close