# Exchanges

## User scenario

`Centralized Exchange`/`Decentralized Exchange`

## User flow

<figure><img src="https://1055926362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeMoJky66Cj23UBCzvkFj%2Fuploads%2Fqlji2W2C3bXzXVeN9PGS%2Fimage.png?alt=media&#x26;token=1c7e00e1-bdcc-4816-b7fd-a8456325c1fb" alt=""><figcaption><p>User flow for the exchanges</p></figcaption></figure>

## Sequence chart

<figure><img src="https://1055926362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeMoJky66Cj23UBCzvkFj%2Fuploads%2Fox71bWk9fgwQqSrfLM2Q%2Fimage.png?alt=media&#x26;token=6f733630-f798-4a27-ac7c-fcf07cd6d792" alt=""><figcaption><p>Sequence chart for the exchanges</p></figcaption></figure>

## Onboarding

1. Make sure the necessary FaTPay capabilities based on the user flow \[[#partner-types](https://dev.fatpay.org/get-started/onboarding#partner-types "mention")];
2. Choose the partner type and apply the corresponding partner \[[#onboarding-process](https://dev.fatpay.org/get-started/onboarding#onboarding-process "mention")];
3. Integrate accordingly \[[reference](https://dev.fatpay.org/reference "mention")];

## 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="../reference/integration-tutorial/on-ramp-widget-customization">on-ramp-widget-customization</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="../reference/integration-tutorial/interface-customization">interface-customization</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="../reference/integration-tutorial/interface-customization">interface-customization</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="../reference/api-reference">api-reference</a></td></tr></tbody></table>
