# Repay

Similar to deposit, the repay function also requires a transfer of an asset from your wallet. Approval to use the asset is first required before the transaction can be executed.&#x20;

<figure><img src="/files/ejAMnVoVezha6Ae01XQq" alt=""><figcaption><p>Approve Use of Asset</p></figcaption></figure>

Once approval is complete, you can repay your debt in full, or partially.

<figure><img src="/files/Il6q7PjsipdMqQJJMxwv" alt=""><figcaption><p>Repay Window</p></figcaption></figure>

When you repay your debt in full **(clicking Max)**, please include a little bit more to cover the upcoming interest accrual that will occur as your repay transaction waits at the mempool. Then, once the debt repayment is executed, only the exact amount of your debt is taken.


---

# 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.kinza.finance/lending-core/how-to/repay.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.
