Corgi BankDocumentation
OpenAPI

Create a loan

POST/loans

Apply for a loan (underwritten at once)

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

credit_scoreintegerRequired
customer_idstringRequired

Example cust_2tVh8nqLxq4GbDe0K1F6S9zRcWm

disbursement_account_idstringRequired

Example acct_2tVh8nqLxq4GbDe0K1F6S9zRcWm

escrow_monthly_amountintegerOptional
guaranteeobject or nullOptional

Guarantee is a government guarantee on a loan or facility.

3 child attributes
guaranteed_bpsintegerRequired
numberstringOptional
programstringRequired

Sba_7a, sba_504, usda

monthly_debt_amountintegerRequired
monthly_income_amountintegerRequired
principal_amountintegerRequired
product_codestringRequired
purposestringOptional
syndicateobject or nullOptional

Syndicate is the bank's share of a syndicated credit.

4 child attributes
agentstringRequired
our_share_bpsintegerRequired
referencestringOptional
total_commitment_amountintegerRequired
term_monthsintegerRequired

Returns

201 Created

The Loan object.

Errors

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

400401403404409412413422424429500503

to move to open esc to close