Corgi BankDocumentation
OpenAPI

Recheck classification, policy and collateral before one exact funding journal

POST/affiliate-controls/usages

Executing service rechecks current policy, plan, classifications and actual collateral before a new exact funding journal. Affiliate term funding must pay the full gross amount to the borrower; netted fees/escrow refuse. Nonaffiliate facility settlement payables require a reviewed GL mapping. Uncertain posting retains usage and capacity; never release on timeout.

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
destination_amountintegerRequired

Net borrower credit; affiliate scope currently requires this equal gross Amount

destination_ledger_account_idstringRequired

Example lacc_2tVh8nqLxq4GbDe0K1F6S9zRcWm

journal_keystringRequired
journal_kindstringRequired
journal_source_refstringRequired
source_ledger_account_idstringRequired

Example lacc_2tVh8nqLxq4GbDe0K1F6S9zRcWm

terms_sha256stringRequired
transaction_refstringRequired
use_refstringRequired

Returns

200 OK

actorstringRequired
created_atstring · date-timeRequired
funding_source_sha256stringOptional
funding_source_snapshotobjectOptional
idstringRequired
journal_idstringOptional

Example jrnl_2tVh8nqLxq4GbDe0K1F6S9zRcWm

monitor_idstringOptional
plan_idstringRequired
policy_idstringRequired
registry_idsarray of stringsRequired
requestobjectRequired
11 child attributes
amountintegerRequired
currency_codestringRequired
destination_amountintegerRequired

Net borrower credit; affiliate scope currently requires this equal gross Amount

destination_ledger_account_idstringRequired

Example lacc_2tVh8nqLxq4GbDe0K1F6S9zRcWm

journal_keystringRequired
journal_kindstringRequired
journal_source_refstringRequired
source_ledger_account_idstringRequired

Example lacc_2tVh8nqLxq4GbDe0K1F6S9zRcWm

terms_sha256stringRequired
transaction_refstringRequired
use_refstringRequired
reservation_idstringRequired
statusstringRequired

Authorized or committed; unknown posting keeps authorization and capacity

Errors

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

400401403404409412413422424429500503

to move to open esc to close