Corgi BankDocumentation
OpenAPI

Reserve full legally binding bank-credit commitment before approval

POST/affiliate-controls/reservations

Executing service subject must be allowed by current independently reviewed policy. Reserve before binding legal commitment, at full gross amount. Resolve exact approved plan and current borrower/attribution classifications; serialize single/all-affiliate limits using filed capital and all unreleased commitments. Supported affiliate execution is a USD term loan secured by actual nonexpiring earmarked cash held in the ledger. Affiliate revolvers and other unsupported covered types refuse. Reference, actor and terms replays never consume capacity twice. New covered execution honors the latest failed observation; funded affiliate obligations require a current-policy observation no older than five minutes with source revisions revalidated, and observed exposure growth is added before limit checks.

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

amountintegerRequired
currency_codestringRequired
customer_idstringRequired

Example cust_2tVh8nqLxq4GbDe0K1F6S9zRcWm

destination_account_idstringRequired

Example acct_2tVh8nqLxq4GbDe0K1F6S9zRcWm

kindstringRequired

Term_loan or facility; affiliate facility execution is refused

terms_sha256stringRequired
transaction_refstringRequired

Returns

200 OK

actorstringRequired
affiliate_idstringOptional
all_exposure_afterintegerRequired
capital_stock_and_surplusintegerRequired
cash_hold_idstringOptional

Example hold_2tVh8nqLxq4GbDe0K1F6S9zRcWm

covered_amountintegerRequired
created_atstring · date-timeRequired
creditobjectRequired

CreditRequest is created by the lending service from its immutable legal terms, never accepted from a customer as an authorization assertion. Amount is gross full commitment, including undrawn obligatory funds, not net cash after fees.

7 child attributes
amountintegerRequired
currency_codestringRequired
customer_idstringRequired

Example cust_2tVh8nqLxq4GbDe0K1F6S9zRcWm

destination_account_idstringRequired

Example acct_2tVh8nqLxq4GbDe0K1F6S9zRcWm

kindstringRequired

Term_loan or facility; affiliate facility execution is refused

terms_sha256stringRequired
transaction_refstringRequired
idstringRequired
monitor_idstringOptional
plan_idstringRequired
plan_sha256stringRequired
policy_idstringRequired
policy_sha256stringRequired
registry_idsarray of stringsRequired
single_exposure_afterintegerRequired
statusstringRequired

Preparing, reserved, released; preparing still consumes capacity

Errors

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

400401403404409412413422424429500503

to move to open esc to close