# Exchanges

## User scenario

`Centralized Exchange`/`Decentralized Exchange`

## User flow

<figure><img src="/files/iPRPixSvHLqCMe0JO5rL" alt=""><figcaption><p>User flow for the exchanges</p></figcaption></figure>

## Sequence chart

<figure><img src="/files/gFq70Uc1MzRXbUmAfwlN" alt=""><figcaption><p>Sequence chart for the exchanges</p></figcaption></figure>

## Onboarding

1. Make sure the necessary FaTPay capabilities based on the user flow \[[Onboarding](/get-started/onboarding.md#partner-types)];
2. Choose the partner type and apply the corresponding partner \[[Onboarding](/get-started/onboarding.md#onboarding-process)];
3. Integrate accordingly \[[Reference](/reference/integration-tutorial.md)];

## Integration

{% hint style="success" %}
All the following processes are optional and can be combined according to the user flow. It takes 4 days tops to integrate.
{% endhint %}

<table><thead><tr><th width="371.58064516129036">User flow</th><th width="218">Reference</th></tr></thead><tbody><tr><td>Add entry to FaTPay widget</td><td>N/A</td></tr><tr><td><p>Redirect to FaTPay transaction flow:</p><ul><li>Set specific cryptocurrency;</li><li>Set specific fiat currency and amount;</li><li>Set default wallet address;</li><li>Set default email address;</li></ul><p><em><mark style="color:blue;">In case you want to hide or fix the wallet address, please apply for Premium Parter.</mark></em> </p></td><td><a data-mention href="/pages/0GumJFBafX2MD82057sS">/pages/0GumJFBafX2MD82057sS</a></td></tr><tr><td><p>Customize FaTPay widget interface:</p><ul><li>Choose interface theme;</li><li>Set light/dark mode;</li></ul></td><td><a data-mention href="/pages/yq4L9luWqzJisyfQAR7U">/pages/yq4L9luWqzJisyfQAR7U</a></td></tr><tr><td><p>FaTPay order details page:</p><ul><li>Jump to the Exchange's apps/websites;</li></ul></td><td><a data-mention href="/pages/yq4L9luWqzJisyfQAR7U">/pages/yq4L9luWqzJisyfQAR7U</a></td></tr><tr><td><p>FaTPay API calls:</p><ul><li>Able to call FaTPay APIs to fine tune the user flow;</li></ul><p><em><mark style="color:blue;">Please apply for the Premium Parter.</mark></em> </p></td><td><a data-mention href="/pages/oou5rXzBs4CmfPwWSamL">/pages/oou5rXzBs4CmfPwWSamL</a></td></tr></tbody></table>


---

# 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://dev.fatpay.org/best-practices/exchanges.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.
