# Repayment and Withdrawal

This guide explains the process of repaying borrowed assets on BiFi and withdrawing collateral once the loan is partially or fully repaid.

{% stepper %}
{% step %}
Check your loan details and select the asset to repay.

(If there is no outstanding loan or the loan amount is small relative to the limit, you may skip repayment and proceed with a partial withdrawal.)

<figure><img src="/files/uDxXF3rSPxtduBIoaiGg" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Click on Repay.

<figure><img src="/files/80K3rOs8eKPiawU6TPyh" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Select the network and enter the amount to repay.

<figure><img src="/files/wsdbN1PuCebhr8Xy6moN" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Confirm the transaction in your wallet to complete the repayment.

<figure><img src="/files/oT2ZXjhmWX5Rgbkf3ZH1" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
You can verify that the loan balance is now 0, as shown below.

<figure><img src="/files/szH6UgqxAoepKpOhyHhA" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Under Your Supplies, select the asset you want to withdraw and click Withdraw.

<figure><img src="/files/0eNgRdlZFXOgWQQivfhD" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Choose the network, enter the amount, and click Withdraw.

<figure><img src="/files/XUhtyuFtxyCuZjPqzqJ2" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Confirm the transaction in your wallet and verify that the withdrawal is complete.

<figure><img src="/files/MbxCB84n6xVkc1KEJSxH" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# 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.bifi.finance/bifi-cross-chain-guide-en/how-to-use-bifi/repayment-and-withdrawal.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.
