# Closing Loans

### Repay a loan

{% embed url="<https://youtu.be/HpFqEXfiZfY>" %}

1. On the loan page click on Manage next to the loan you want to repay.

<figure><img src="/files/ckzSBjGwhsr5p9UVAmPo" alt=""><figcaption></figcaption></figure>

2. Go to the Borrow table and click on Repay next to the asset you want to repay.

<figure><img src="/files/QWnYBHSuokmbA2e10OyC" alt=""><figcaption></figcaption></figure>

3. Type in the amount you want to repay, click on Repay, and sign with your wallet.

{% hint style="info" %}
Repaying an asset on spoke chains may require more time to be executed than usual. This has been due to the Waiting Delay.&#x20;

Definition:\
\&#xNAN;*Waiting Relay indicates that a transaction has been initiated from a spoke chain and is awaiting delivery to the hub chain via the Generic Messaging Protocol (GMP) such as Wormhole or Chainlink CCIP. For certain operations like deposits, collateralization, and repayments, the waiting time is longer as it requires achieving finality on the spoke chain where the operation was initiated. The Waiting Relay is necessary because it avoids potential risks such as double spending by ensuring that a transaction has been fully confirmed on the source chain before proceeding.*
{% endhint %}

<figure><img src="/files/j36n3PL77Kj0ar3TfoIi" alt=""><figcaption></figcaption></figure>

### Reduce collateral

{% embed url="<https://youtu.be/EbsGRpokDRs>" %}

1. Go to the Collateral table and click on Reduce next to the asset you want to withdraw.

<figure><img src="/files/oRYlW5lFleXplkBEvUc8" alt=""><figcaption></figcaption></figure>

2. Type in the amount you want to withdraw, click on Reduce, and sign with your wallet.

<figure><img src="/files/R5T51yc5ObLaSjfof7Uf" alt=""><figcaption></figcaption></figure>


---

# 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.xapp.folks.finance/user-guide/closing-loans.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.
