HomeGuidesAPI Reference

A `Loan` object provides the details fo a single student loan for a `Borrower`.

Use [`LoanPayload`](🔗) for API `POST` requests

When creating `Loans` for `Borrowers` via the [Create Loans](🔗) API endpoint, you must supply loan details in the shape of a [`LoanPayload`](🔗).

You will receive a `Loan` object in the API response.

### Schema Definition

The `Borrower`'s account number for a Loan with a Servicer, if known.
`balance_entering_repayment``number``float`The total `Loan` balance at the time a borrower _first_ entered repayment.
`borrower_id``integer``int64`The Payitoff ID of the `Borrower` this `Loan` belongs to.
`created_at``string``date-time`A `DateTime` string indicating when this `Loan` was created.
`disbursement_dates``array``type: string` `format: date`An array of dates on which funds were disbursed to a `Borrower`.
It is possible to create Loans using data fetched from third parties, such as Plaid's Liabilities endpoint. When doing so, we recommend providing any unique identifier, such as Plaid's `account_id` value in the `external_id` property to help you keep track of which Payitoff loans correspond to the loan info you retrieve from subsequent syncs with Plaid and other products.
`final_monthly_payment``number``float`The amount of the final monthly payment.
The entity who guarantees a loan will be paid in the event a student borrower defaults on the loan.
`id``integer``int64`The Payitoff ID of this `Loan` object.
`idr_renewal_date``string``date`The date on which an IDR plan requires income recertification.
`interest_rate``number``float`The interest rate applied to a loan.
The current status of a Loan (description or code). A complete list can be found on our [Loan Statuses](🔗) page.
The history of loan status changes. Returns key-value pairs where the status change is the value and the date on which the status changed is the key.
The type of loan. A complete list can be found on our [Loan Types](🔗) page.
`metadata``object``additionalProperties: true`TODO
`monthly_payment``number``float`The standard monthly payment over the course of the repayment term.
`original_principal``number``float`Original principal balance when `Loan` entered repayment.
`origination_date``string``date`The date the `Loan` was officially given to the borrower.
`outstanding_interest``number``float`Total unpaid interest.
`outstanding_principal``number``float`Total unpaid principal.

How many months a Loan has been in repayment.
`pslf_cumulative_periods``integer``int32`How many monthly payments have been made that count toward PSLF eligibility.
`repayment_begin_date``string``date`The date a borrower _first_ entered repayment. This date could be in the future (if borrower is currently a student) or in the past (if borrower is currently or has been in repayment).
`repayment_plan``object`[`RepaymentPlan`](🔗)An object describing the `Loan`'s Repayment Plan.
`repayment_plan_begin_date``string``date`The date the `Loan` entered the current Repayment Plan.
The type of Repayment Plan. This will be the `name` value of the associated [`RepaymentPlan`](🔗).
The name of the financial institution servicing the loan, to whom the borrower makes monthly payments.
`total_cost``number``float`With IDR plans, there is sometimes a "tax bomb" at the end of their repayment term—any outstanding balance is forgiven, but treated as taxable income. The `total_cost` field provides the sum of `total_paid` plus the taxes owed on that forgiven amount (which is calculated and provided in the `estimated_tax_liability` field). In other words, `total_cost` is the bottom line amount a borrower will pay to dispense of their loan on its current Repayment Plan.
`updated_at``string``date-time`A `DateTime` string indicating when this `Loan` was last updated.
`ytd_interest_paid``number``float`The total Year-to-Date interest paid.
`ytd_principal_paid``number``float`The total Year-to-Date principal paid.

### Example