> For the complete documentation index, see [llms.txt](https://docs.0xprocessing.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.0xprocessing.com/basic/introduction-guide/withdrawal-flow.md).

# Withdrawal flow

A comprehensive guide to managing withdrawals in our crypto payment gateway, designed to ensure smooth, secure, and efficient transactions.

### **Withdrawal flow via API**

1. To create a withdrawal through the API, including a withdrawal initiated by your Client, use the following request.
2. The Merchant can set a withdrawal limit for Clients under Confirmations → Settings.

![](https://3581776959-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFe844yi2U8Swnqhi7iE8%2Fuploads%2Fse5J9TQd42xugrNRAMX5%2Fimage.png?alt=media\&token=76de2f4a-da10-4d8e-a33b-a546d05919d0)

![](https://3581776959-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFe844yi2U8Swnqhi7iE8%2Fuploads%2FhSVYSCxZUcCOPMhAyLzQ%2Fimage.png?alt=media\&token=1d28b1ef-c88f-4881-a472-71811440d25f)

* If the withdrawal amount is below the limit, it is processed automatically.
* If the withdrawal amount exceeds the limit, the Merchant or an authorized manager must approve it before processing.

A Client can withdraw funds only if the Merchant has a sufficient balance in the requested currency. See [Balance management](/quick-start/balance-management.md#liquidity-topup) for instructions on managing liquidity.

3. After the withdrawal is processed, the requested amount minus the network fee is sent to the Client's wallet.

#### **Withdrawal confirmation**

If an API withdrawal exceeds the limit configured under Merchant → API → General settings, it remains pending until the Merchant approves or rejects it.

The Merchant or an authorized manager can approve or reject it under Confirmations → Withdrawal.

![](https://3581776959-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFe844yi2U8Swnqhi7iE8%2Fuploads%2FNswt2ZZoUjVmUpeQgn6j%2Fimage.png?alt=media\&token=45b389ab-71ed-4234-9f87-afc35337a9ad)

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

1. To withdraw funds, select Withdraw on the Dashboard.

![](https://3581776959-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFe844yi2U8Swnqhi7iE8%2Fuploads%2Fu9gdHjIbgPAtj6gxYF6T%2Fimage.png?alt=media\&token=c70cef16-99f7-46e4-b47e-516a4b840bed)

2. Select the currency, amount, destination address, and an optional comment.

![](https://3581776959-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFe844yi2U8Swnqhi7iE8%2Fuploads%2FhXG8pnrCuFgQKA1FBhqB%2Fimage.png?alt=media\&token=0d7246ba-fa42-4865-a0fe-98d5a0a9c756)

3. Confirm the withdrawal using two verification codes: one from the authenticator app and one sent by email.

![](https://3581776959-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFe844yi2U8Swnqhi7iE8%2Fuploads%2FyobTJ1vWgL5raRv5HmUz%2FDashboard%20withdraw.png?alt=media\&token=62eb1dd4-1fcb-4689-9fb0-1d5387681bb7)

{% hint style="success" %}
If the Merchant's balance has enough funds and verification is successful, the withdrawal is executed for the selected amount minus the network fee.
{% endhint %}
