# Withdrawal flow

### **Withdrawal flow via API**

1\.  To create a withdrawal via API, for example, a withdrawal initiated by your Сlient, use the [following request](https://docs.0xprocessing.com/0xprocessing-api/withdrawals/withdrawal-by-client)

2\.  Merchant can [set withdrawal limit](https://docs.0xprocessing.com/quick-start/balance-management#withdrawal-of-balances) for Clients (menu Merchant\ API\ General settings)

<figure><img src="https://3581776959-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFe844yi2U8Swnqhi7iE8%2Fuploads%2FuTmGoP3wQegXPvgVcfZK%2Fphoto_2023-02-23_17-29-03.jpg?alt=media&#x26;token=0b6ec92e-208b-4f30-951b-dcd8fbcf06bd" alt=""><figcaption><p>Withdrawal limit</p></figcaption></figure>

\- if withdrawal amount below limit it will be processed automatically.

\- if withdrawal amount above limit it should be confirmed by Merchant or Manager before processing

Client can withdraw funds only if Merchant has corresponding currency in necessary volume on his balance. Instruction how to manage balance available here:[#liquidity-topup](https://docs.0xprocessing.com/quick-start/balance-management#liquidity-topup "mention").

3\. Once withdrawal is executed it will be sent to Client's private wallet in requested amount minus network fee.

#### **Withdrawal confirmation**

If withdrawal executed via API and limit is higher than defined in Merchant's personal account (Merchant\ API\ General settings) it will be suspended until Merchant will approve it or reject.

It can be done in [Confirmations\Withdrawal](#withdrawal-confirmation) section of Merchant's account or via the Manager's account.<br>

<figure><img src="https://3581776959-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFe844yi2U8Swnqhi7iE8%2Fuploads%2FNswt2ZZoUjVmUpeQgn6j%2Fimage.png?alt=media&#x26;token=45b389ab-71ed-4234-9f87-afc35337a9ad" alt=""><figcaption></figcaption></figure>

### **Withdrawal flow via personal account**

1. In order to withdraw funds Merchant should select Withdraw at Dashboard page.

<figure><img src="https://3581776959-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFe844yi2U8Swnqhi7iE8%2Fuploads%2F1qcekaBuxvpJVL9XTLqK%2Fimage.png?alt=media&#x26;token=8e14d5a6-b491-477b-a503-4f7aab6b173d" alt=""><figcaption></figcaption></figure>

2. Then select currency, amount, wallet address and optionally add comment.

<figure><img src="https://3581776959-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFe844yi2U8Swnqhi7iE8%2Fuploads%2FPlB4oNZh74T5n7Eo6Rq8%2FDashboard%20withdraw.png?alt=media&#x26;token=c77683ba-6965-4406-84a7-90ad32fbbea7" alt=""><figcaption></figcaption></figure>

3. To confirm withdrawal should be provided two verification: from 2FA app and from email.

<figure><img src="https://3581776959-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFe844yi2U8Swnqhi7iE8%2Fuploads%2FyobTJ1vWgL5raRv5HmUz%2FDashboard%20withdraw.png?alt=media&#x26;token=62eb1dd4-1fcb-4689-9fb0-1d5387681bb7" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
If Merchant's balance has enough funds and verification was successful withdrawal will be executed for selected amount minus Network fee.
{% endhint %}
