Corgi BankDocumentation
OpenAPI

The Lender Advance object

LenderAdvance is an advance asked of a lender, its review, confirmation and booking.

Attributes

advance_numberstringOptional
borrowing_idstringOptional
confirmationobject or nullOptional

Document is every signed answer the lender gives, one payload per kind.

13 child attributes
advanceobject or nullOptional

AdvanceConfirmation is the lender's answer to an advance request: made, with the terms it was made on, or declined with the reason.

11 child attributes
advance_numberstringOptional
available_amountintegerRequired

The collateral value available before the advance

day_count_basisstringRequired

Actual/365 or actual/360

maturity_datestring · dateRequired

A business date, YYYY-MM-DD

principal_amountintegerRequired
programstringRequired
rate_bpsintegerRequired
reasonstringOptional
referencestringRequired
statusstringRequired

Made or declined

value_datestring · dateRequired

A business date, YYYY-MM-DD

borrowerstringRequired

The bank as the lender names it

collateralobject or nullOptional

CollateralDecision answers a collateral submission item by item.

3 child attributes
actionstringRequired
itemsarray of objectsRequired
7 child attributes
item_referencestringOptional
kindstringRequired

Loan or security

operator_referencestringOptional

The Fedwire Securities transfer of a pledge or a release

par_amountintegerOptional
reasonstringOptional
referencestringRequired

The loan id or the CUSIP

statusstringRequired

Accepted, refused, withdrawn or released

referencestringRequired
issued_atstring · date-timeRequired
issuerstringRequired

The Reserve Bank or the Federal Home Loan Bank

key_idstringRequired
kindstringRequired
lenderstringRequired
repaymentobject or nullOptional

RepaymentConfirmation is the lender's answer to a repayment request: the principal repaid, the interest charged on the advance for the days since interest was last paid, any fee, and the total debited to the bank.

13 child attributes
advance_numberstringRequired
fee_amountintegerRequired
interest_amountintegerRequired
interest_fromstring · dateRequired

A business date, YYYY-MM-DD

interest_throughstring · dateRequired

A business date, YYYY-MM-DD

principal_amountintegerRequired
principal_outstanding_amountintegerRequired
rate_bpsintegerRequired
reasonstringOptional
referencestringRequired
statusstringRequired

Repaid or refused

total_amountintegerRequired
value_datestring · dateRequired

A business date, YYYY-MM-DD

scheduleobject or nullOptional

CollateralSchedule is the lender's collateral schedule in force from a date.

3 child attributes
classesarray of objectsRequired
6 child attributes
asset_classstringRequired
eligiblebooleanRequired
margin_bpsintegerRequired

The share of the basis lent against

max_days_past_dueintegerOptional
pledge_methodstringOptional

Restricted_account, borrower_in_custody, listing, delivery

valuation_basisstringOptional

Market_value or unpaid_principal

effective_datestring · dateRequired

A business date, YYYY-MM-DD

sourcestringRequired
signaturestringRequired
statementobject or nullOptional

CollateralStatement is the lender's collateral valuation and margin statement at the close of a day: every item, the total lendable value, the principal of advances outstanding, the interest accrued on them and unpaid, and what remains available. Collateral secures the interest as well as the principal: a Reserve Bank's Advance Repayment Amount is the advance plus accrued interest, and its security interest secures all Obligations (Operating Circular No. 10, 2.1 and 6.0), so the available value is the lendable value less both.

7 child attributes
accrued_interest_amountintegerRequired
advancesarray of objectsRequired
7 child attributes
accrued_interest_amountintegerRequired
advance_numberstringRequired
maturity_datestring · dateRequired

A business date, YYYY-MM-DD

principal_amountintegerRequired
programstringRequired
rate_bpsintegerRequired
value_datestring · dateRequired

A business date, YYYY-MM-DD

advances_outstanding_amountintegerRequired
as_ofstring · dateRequired

A business date, YYYY-MM-DD

available_amountintegerRequired
itemsarray of objectsRequired
11 child attributes
asset_classstringRequired
basis_value_amountintegerRequired
eligiblebooleanRequired
ineligible_reasonstringOptional
kindstringRequired
lendable_amountintegerRequired
margin_bpsintegerRequired

The share of the basis value lent against

par_amountintegerOptional
price_microsintegerOptional

Per 100 of par, scaled by 1,000,000

principal_amountintegerOptional
referencestringRequired
lendable_amountintegerRequired
versionstringRequired
idintegerRequired
interest_recognized_amountintegerRequired
lender_idintegerRequired
makerstringRequired
principal_outstanding_amountintegerRequired
reasonstringOptional
recorded_atstring · date-timeRequired
requestobjectRequired

LenderAdvanceRequest asks a lender for an advance through its connection.

4 child attributes
lender_idintegerRequired
maturity_datestring · dateRequired

A business date, YYYY-MM-DD

principal_amountintegerRequired
programstringRequired

Primary_credit or secondary_credit (discount window); overnight or fixed_rate (FHLB simulator)

reviewobject or nullOptional

ReviewRecord is a retained review.

5 child attributes
approvebooleanRequired
checkerstringRequired
journal_idstringOptional

Example jrnl_2tVh8nqLxq4GbDe0K1F6S9zRcWm

reasonstringRequired
recorded_atstring · date-timeRequired
sentobject or nullOptional

AdvanceRequest asks the lender for an advance.

8 child attributes
borrowerstringRequired
lenderstringRequired
maturity_datestring · dateRequired

A business date, YYYY-MM-DD

principal_amountintegerRequired
programstringRequired

Primary_credit, secondary_credit; fixed_rate, overnight

referencestringRequired

The bank's reference; a resend returns the original answer

value_datestring · dateRequired

A business date, YYYY-MM-DD

versionstringRequired
statusstringRequired

Pending_review, rejected, requesting, declined or booked

updated_atstring · date-timeRequired

to move to open esc to close