Corgi BankDocumentation
OpenAPI

List a borrowing's repayments through its lender, oldest first

GET/ledger/borrowings/{id}/lender-repayments

A read needs ledger:read or ledger:post.

Path parameters

idstringRequired

Returns

200 OK

dataarray of objectsRequired
13 child attributes
actorstringRequired
borrowing_idstringRequired
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
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
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
advances_outstanding_amountintegerRequired
as_ofstring · dateRequired

A business date, YYYY-MM-DD

available_amountintegerRequired
itemsarray of objectsRequired
lendable_amountintegerRequired
versionstringRequired
idintegerRequired
interest_amountintegerRequired
journal_idstringOptional

Example jrnl_2tVh8nqLxq4GbDe0K1F6S9zRcWm

lender_advance_idintegerRequired
principal_amountintegerRequired
reasonstringOptional
recorded_atstring · date-timeRequired
sentobjectRequired

RepaymentRequest repays principal of an advance, with the interest the lender charges on it.

7 child attributes
advance_numberstringRequired
borrowerstringRequired
lenderstringRequired
principal_amountintegerRequired
referencestringRequired
value_datestring · dateRequired

A business date, YYYY-MM-DD

versionstringRequired
statusstringRequired

Requesting, refused or booked

updated_atstring · date-timeRequired
has_morebooleanRequired

Whether another page follows

Errors

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

400401403404409412413422424429500503

to move to open esc to close