> For the complete documentation index, see [llms.txt](https://stablepay.gitbook.io/stablepay/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://stablepay.gitbook.io/stablepay/master.md).

# Welcome to StablePay Documentation

This documentation will guide you step-by-step to custom your widget.

### 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/>
