# Loan Repayment

### Repay   loan

For flexible loans, the borrower can repay the loan at any time when there are enough assets to pay the loan and loan fees.&#x20;

For fixed loans, at the end of the loan according to the contract term, the borrower must pay the loan and loan costs.&#x20;

### The borrower's collateral will be liquidated in 2 cases:&#x20;

1\.  When the assets are close to the  liquidation limit   then the system will send a warning via email and notification on the application as soon as the collateral value reaches the threshold liquidation. You can pay off part or all of the loan to avoid asset liquidation.

**LTV :** The Initial LTV ratio determines the initial amount of tokens that can be borrowed   (Lending limit offered by the lender)  .&#x20;

**Liquidation LTV** : Is the allowable limit if   ratio   LTV is higher than Liquidation LTV ratio given by the lender, LENDFI will Liquidate collateral to fully repay your loan and interest. Liquidation will be triggered when the corresponding Liquidation LTV ratio is reached

2\.   At the end of the loan term, the borrower does not have enough assets to repay the loan. The system will automatically liquidate collateral to pay the loan and loan costs.&#x20;

&#x20;The liquidation penalty will be 3%. This fee (20% divided by the lender and 80% will be transferred to the LendFi platform's liquidity wallet)

### Get mortgaged property

When the borrower pays all costs of the loan, he/she can receive the deposited collateral.&#x20;

If the borrower violates the terms of the contract and the property is liquidated, he or she will not receive 100% of the original mortgaged property because the system will deduct the liquidation and loan fees as well as the loan fees. get a loan .&#x20;


---

# 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://lend-finance-organization.gitbook.io/lendx-documentation-v1.0/project-info/borrowing/loan-repayment.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.
