Corgi BankDocumentation
OpenAPI

Read source ledger identity before affiliate funding authorization

GET/loans/{id}/affiliate-funding-source

Verified lending:read staff/service authority required. Returns expected immutable ledger address, captured product GL code and known activated/prepared receivable ID if present, with exact credit terms. Takes no instrument write lock and is safe for a compliance authorization callback before lending funding commits.

Path parameters

idstringRequired

Returns

200 OK

addressobjectRequired
5 child attributes
currency_codestringRequired
legal_entitystringRequired
namestringRequired
namespacestringRequired
ownerstringRequired
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
gl_codestringRequired
known_ledger_account_idstringOptional

Example lacc_2tVh8nqLxq4GbDe0K1F6S9zRcWm

Errors

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

400401403404409412413422424429500503

to move to open esc to close