# How to configure commissions for deposit and withdrawal methods

For deposit and withdrawal methods, you can configure commissions that will be deducted from clients when they make deposits or withdrawals in the B2CORE UI.

To configure commissions:

{% stepper %}
{% step %}
Navigate to **System** > **Deposit system** > **Deposit methods** or\
**System** > **Payout system** > **Payout methods**.
{% endstep %}

{% step %}
Select the method and click the **Edit** button in the method row.
{% endstep %}

{% step %}
On the **Edit method** page, go to the **Commissions** tab and click **+Add**.
{% endstep %}

{% step %}
In the **Create commission** popup, fill in the following fields:

* In the **Currency** dropdown, select a commission currency.
* In the **Type** dropdown, select the commission type **TR** or **PSP** (for details, refer to [Deposit methods](https://docs.b2core.b2broker.com/back-office-guide/system/deposit-system#commissions-tab) and [Payout methods](https://docs.b2core.b2broker.com/back-office-guide/system/payout-system#commissions-tab)).
* Enter commission rates in the respective fields shown in the image below.

<figure><img src="https://514898401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGoRxAprhHu1goANW7FXt%2Fuploads%2Fgit-blob-56733c69708b4b0f6259d25bde9f4353e7aa5e84%2Fcommission-fields.png?alt=media" alt="Fields for configuring commissions"><figcaption><p>Fields for configuring commissions</p></figcaption></figure>

The use of these fields follows the formula:

`Minimum commission amount (1) <= Fixed rate (2) + Percentage rate % (3) <= Maximum commission amount (4)`

You can set a fixed commission rate, a percentage commission rate, or a combination of both.

* To set a fixed commission rate, enter the commission amount in the field `2`. The specified commission amount is charged for each deposit or withdrawal transaction regardless of the transaction amount.

  For fixed commission rates, leave the other fields empty.
* To set a percentage commission rate, enter the percentage value in the field `3`. The specified percentage of a deposit or withdrawal amount is charged as a commission.

  For percentage commission rates, it’s recommended that you set the minimum commission amount in the field `1` and the maximum commission amount in the field `4`. The commission can’t be be lower than the minimum amount or exceed the maximum amount.
* If both a fixed rate in the field `2` and a percentage rate in the field `3` are entered, the commission is calculated as the sum of the fixed amount and the specified percentage of a deposit or withdrawal amount.

  For combined commissions, it’s also recommended that you set the minimum and maximum commission amounts.
  {% endstep %}

{% step %}
Click **Save** to apply the commission settings to the selected method.
{% endstep %}
{% endstepper %}

## Example

Suppose that commission rates for deposits in `USD` are configured as follows:

`15 ≤ 10 + 5% ≤ 50`

In this case:

* The commission amount is calculated as 5% of a deposit amount plus a fixed rate of 10 USD.
* The commission amount can't be less than 15 USD and can't exceed 50 USD.

If 100 USD are credited to the client's account after the deposit is successfully processed by the payment provider, the commission is calculated as:

`10 + (100 * 0.05) = 15 USD`

If 1,000 USD are credited to the client's account, the commission is calculated as:

`10 + (1,000 * 0.05) = 60 USD`, which exceeds the maximum commission limit. Therefore, the commission will be capped at `50 USD`.
