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

# How DexPay Works

In essence, DexPay lets two parties trade securely with each other. This is how it is achieved using a hypothetical scenario involving two DexPay users, Ana and John.&#x20;

* Ana and John are looking to buy and sell crypto respectively.&#x20;
* Ana puts up an ad on DexPay, looking to buy 1000 usdt with fiat dollars.&#x20;
* John logs into DexPay with their wallet and decides to sell 1000 usdt to Ana.&#x20;
* John escrows 1000 usdt and Ana is notified of an active trade of 1000 usdt.
* Ana makes payment into John’s bank details.&#x20;
* John confirms payments and releases assets.&#x20;
* Assets are deposited into Ana’s non-custodial wallets.&#x20;

<figure><img src="https://299939443-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMpFcA6Ixe9XYVowppMks%2Fuploads%2FphMQGUJyPHdCwlJSpYwj%2Fimage.png?alt=media&amp;token=47dea2c6-8c03-4ee6-9c88-b61cf2f04eba" alt=""><figcaption></figcaption></figure>
