> For the complete documentation index, see [llms.txt](https://docs.kinto.xyz/kinto-the-modular-exchange/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kinto.xyz/kinto-the-modular-exchange/user-guides/usdk-lend-and-borrow-market/repay-usdc-and-withdraw-usdk.md).

# Repay USDC and Withdraw $K

Navigate to the Kinto Token asset page and scroll down to the Lending Market section. Once there, you will be able to see the current USDC supply, the total USDC borrowed and the borrow rate as well as the supply rate APY. Next to this you will find the widget to repay USDC and withdraw $K.&#x20;

<figure><img src="/files/0zmUzVxFRLzZOYPxV5FK" alt=""><figcaption></figcaption></figure>

In the 'Repay & Withdraw' section, input the amount of USDC you wish tor repay and the amount of $K you will withdraw will be autopopulated. When you're happy with the selection, click 'Repay & Withdraw' to continue.&#x20;

<figure><img src="/files/PKh7irVtjjOwAYr0P2V1" alt="" width="375"><figcaption></figcaption></figure>

Next you will be prompted to sign the tx with your passkey. There are two txs to sign please be patient while they both process.&#x20;

<figure><img src="/files/kNqWqoeNTjYbpfmkwNEk" alt="" width="375"><figcaption></figcaption></figure>

You will see the below screen while the tx processes.&#x20;

<figure><img src="/files/ETPsGpVEest9yqLIUgcg" alt="" width="375"><figcaption></figcaption></figure>

When the first tx is complete, you will see the below image prompting you to continue to the second tx. Please click 'continue'.&#x20;

<figure><img src="/files/YHd0gscs5tYVIGwy3rKU" alt="" width="375"><figcaption></figcaption></figure>

Sign the final tx with your passkey and wait for it to process.

<figure><img src="/files/uqw2Z5uM4OU11w5KAvRd" alt="" width="375"><figcaption></figcaption></figure>

When the tx is complete you will see the below message - click continue. The USDC will have been deducted from your Kinto wallet and the $K will now be present.&#x20;

<figure><img src="/files/y8AZD29fZvyoGcJyq7Ps" alt="" width="375"><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.kinto.xyz/kinto-the-modular-exchange/user-guides/usdk-lend-and-borrow-market/repay-usdc-and-withdraw-usdk.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
