# Welcome to StablePay Documentation

### What is StablePay?

StablePay is a decentralized payment platform that enables users to make payments or donations with Ethereum or other ERC20 tokens, that get instantly converted to DAI token.

### How StablePay works?

The contracts function as a gateway for receiving tokens, seek the best rate for trading on existing decentralized exchanges(Uniswap, Kyber), and swap the tokens to DAI token, to finally send them over to the receiver.

![](https://3050996466-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LcRjQr82yymxAMPBHT9%2F-LowryiFNzx3hm30lvGg%2F-Lowt0E_xzGbnFxQFSxG%2Fimage_1.png?alt=media\&token=911f774a-575e-4e5c-9b67-7f9a77cb4618)

For more information, visit:<https://stablepay.io/>


---

# 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://stablepay.gitbook.io/stablepay/master.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.
