Corgi BankDocumentation
OpenAPI

Create a contingency funding run

POST/reporting/contingency-funding/runs

Requires verified staff reporting:write with fresh step-up. Runs require an independently approved scenario version that no approved version supersedes, the exact tied historical closing of a completed business date with every nonzero asset, contra-asset and liability GL classified (chart deposit GLs only as deposits), register advances at their original closing balances reconciled to the advance GLs, and the collateral register read on the next banking day; without the register the run is refused (dependency_failed), never assumed. Securities encumbrance is explicit per marketable security GL and no smaller than the register's live securities pledges; contingent flows are explicit, including an empty list. Results are cumulative sources and uses and net position by bucket per severity, stressed capacity per lender, survival days and indicator statuses. No liquidity coverage ratio or net stable funding ratio is calculated.

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

as_ofstring · dateRequired

A business date, YYYY-MM-DD

contingent_flowsarray of objectsRequired
6 child attributes
cumulative_amountsarray of integersRequired
directionstringRequired

Use or source

evidenceobjectRequired

Evidence binds externally prepared inputs and assumptions to retained documentation.

2 child attributes
referencestringRequired
sha256stringRequired
idstringRequired
severitystringRequired
treatmentstringRequired
coverage_evidenceobjectRequired

Evidence binds externally prepared inputs and assumptions to retained documentation.

2 child attributes
referencestringRequired
sha256stringRequired
encumbrancesarray of objectsRequired
4 child attributes
encumbered_amountinteger or nullOptional
evidenceobjectRequired

Evidence binds externally prepared inputs and assumptions to retained documentation.

2 child attributes
referencestringRequired
sha256stringRequired
gl_codestringRequired
treatmentstringRequired
rationalestringRequired
scenario_idstringRequired

Returns

200 OK

The Contingency Funding Run object.

Errors

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

400401403404409412413422424429500503

to move to open esc to close