Corgi BankDocumentation
OpenAPI

Create a facility

POST/facilities

Apply for a credit facility (revolving line, construction, letter of credit, factoring, floor plan, warehouse, merchant cash advance)

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

beneficiarystringOptional
borrowing_baseobject or nullOptional

BorrowingBase is a borrower's collateral certificate.

6 child attributes
base_amountintegerOptional
certified_atstring · dateOptional

A business date, YYYY-MM-DD

inventory_advance_bpsintegerOptional
inventory_amountintegerRequired
receivables_advance_bpsintegerOptional
receivables_amountintegerRequired
collateralstringOptional
credit_scoreintegerOptional
customer_idstringRequired

Example cust_2tVh8nqLxq4GbDe0K1F6S9zRcWm

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

limit_amountintegerRequired
monthly_debt_amountintegerOptional
monthly_income_amountintegerOptional
product_codestringRequired
purposestringOptional
settlement_account_idstringRequired

Example acct_2tVh8nqLxq4GbDe0K1F6S9zRcWm

term_monthsintegerOptional

Returns

201 Created

The Facility object.

Errors

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

400401403404409412413422424429500503

to move to open esc to close