# Settlement

At maturity, TermPrime offers two settlement paths so institutions can choose between platform-level atomicity and their existing bilateral workflow.

#### On-platform maturity (atomic settlement)

* The order detail page presents a single **Repay / Return Collateral** action, with the amount due automatically calculated (principal + accrued interest + fees).
* On confirmation, the platform initiates an **atomic exchange**: the borrower pays principal plus interest while the collateral is returned in the same transaction, so either both legs complete or neither does.
* On success, the status updates to *Settled (on-platform)* and a settlement record is produced (transaction hash and reconciliation document).

#### Off-platform maturity (settle, then register)

* The two parties complete repayment or settlement through their existing off-platform or bilateral workflow, each keeping their own evidence.
* Either party then registers the completed settlement on TermPrime, attaching evidence (transaction hash, external document references).
* The counterparty confirms, and the status updates to *Settled (off-platform)*, preserving an audit trail.
* In this path the platform does not move funds or assets; it provides post-settlement record-keeping and reconciliation only.

#### Notifications & status

Throughout the loan lifecycle, TermPrime keeps both parties informed without intervening in risk:

* **LTV notifications (roadmap).** When market moves bring the loan to a warning level or threshold, both lender and borrower are notified. *The platform notifies only; it does not act on risk.*
* **Maturity reminders.** Reminders are sent ahead of maturity and on the maturity date, when settlement options open on the contract page.
* **Status tracking.** Loans move through clear states (e.g. *pending settlement* → *settled on-platform* / *settled off-platform*); overdue loans are flagged and continue to be reminded.
* **Channels.** In-app messages, email, and webhooks for institutional system integration.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.termprime.finance/settlement.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
