# Repay

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

Repaying borrowed tokens in the **Godex Protocol** is an important step for managing borrow positions. Borrowers can repay using the same tokens they borrowed or repay with **G-tokens** (collateral tokens) of the same underlying asset. Additionally, Godex provides periphery contracts that simplify the process by enabling repayment with other tokens, such as other collateral assets, without requiring manual conversion beforehand. This flexibility allows borrowers to efficiently manage and close their positions when needed.

Repayment increases the **collateralization ratio**, ensuring sufficient collateral and preventing liquidation. By enhancing the collateral relative to the borrowed amount, repayment safeguards assets from liquidation and enables borrowers to safely withdraw a portion of their collateral.


---

# 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.godex.ai/getting-started/gobank/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.
