Corgi BankDocumentation
OpenAPI

Approve or reject a collateral schedule (a treasury checker other than its maker)

POST/ledger/collateral/schedules/{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 record's maker, refused 422 ledger.maker_checker_required. The same decision by the same checker replays; a different one is 409 conflict.

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

classesarray of objectsRequired
5 child attributes
asset_classstringRequired

Us_treasury, agency_mbs, residential_mortgage_1_4, commercial_real_estate, commercial_and_industrial, consumer, other

eligiblebooleanRequired
haircut_bpsintegerRequired
max_days_past_dueintegerOptional
valuation_basisstringOptional

Market_value for securities, unpaid_principal for loans

effective_datestring · dateRequired

A business date, YYYY-MM-DD

excludes_charged_offbooleanRequired
excludes_nonaccrualbooleanRequired
excludes_sold_portionbooleanRequired
idintegerRequired
lender_idintegerRequired
makerstringRequired
maturity_beyond_advancebooleanRequired
recorded_atstring · date-timeRequired
reviewobject or nullOptional

ReviewRecord is a retained review.

5 child attributes
approvebooleanRequired
checkerstringRequired
journal_idstringOptional

Example jrnl_2tVh8nqLxq4GbDe0K1F6S9zRcWm

reasonstringRequired
recorded_atstring · date-timeRequired
source_refstringRequired
statusstringRequired

Errors

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

400401403404409412413422424429500503

to move to open esc to close