> For the complete documentation index, see [llms.txt](https://help.helioscard.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.helioscard.xyz/credit-line-and-borrowing/sell-to-repay.md).

# Sell to repay

**Sell to repay** lets you pay down your credit line by selling part of your collateral, without having to add new funds.

## How it works

1. Go to **Sell to repay**.
2. Enter how much of your balance you want to repay.
3. Helios shows you a quote — how much collateral will be sold to cover it.
4. Confirm. The collateral is sold and the proceeds repay your balance.

{% hint style="info" %}
The quote is a snapshot. The final amount sold is re-checked at the moment of sale, so the exact figure can move slightly with the market.
{% endhint %}

## When to use it

* You want to reduce what you owe but don't want to add more funds.
* You're close to a level where your collateral could be at risk and want to lower your balance quickly. See [Liquidation](/credit-line-and-borrowing/liquidation.md).

## Frequently asked

### Will it sell exactly the amount I asked to repay?

It targets your repay amount, but because prices move, a small cushion may be applied so the sale fully covers the target. Any difference is small.

### Is this the same as liquidation?

No. Sell to repay is something **you choose** to do. Liquidation is automatic and happens only when your collateral falls too low. See [Liquidation](/credit-line-and-borrowing/liquidation.md).

### Are there fees?

Any fee is reflected in the quote you see before you confirm, so the amount applied to your balance is clear up front.


---

# 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://help.helioscard.xyz/credit-line-and-borrowing/sell-to-repay.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.
