# Users

This tab is the centralized control center for all registered users of the platform. It displays a list of both regular clients and partners (referrals), including external exchanger monitors that receive partner rewards.

The admin panel implements flexible configuration of the referral system **for each user individually**.\
Referral configuration is performed in **two stages**:

1. Selection **of the type of referral accruals**
2. Setting **of the accrual percentage** for the selected type

#### Choosing the type of referral accruals

In the users table there is a column **“Type of referral accrual”**.\
Clicking the edit icon opens a modal window **“Edit referral system type”**.

In this window the administrator can choose **according to which principle the user will receive referral rewards**.

An example of an available type:

* **Referral accrual from profit** - the percentage is calculated from the exchanger's net profit on the orders of attracted users.
* **Referral accrual from the exchange amount** - The referral reward percentage is calculated **from the total exchange amount** for orders of users attracted by this referral, **regardless of the exchanger's actual profit** on those orders.

> ⚠️ The selected type determines **the calculation logic**, not the percentage itself.

After selecting the type you must click the **“Update”**, to save changes.

#### Setting the referral accrual percentage

After selecting the referral system type the field becomes available for configuration **“Referral percentage”**.

* The percentage is specified **manually**
* The value is applied **only to the selected accrual type**
* Changing the percentage does not affect the calculation logic, only the reward size

Thus:

* First, the accrual model is determined.
* Then, the compensation amount within that model is determined.

**Important Features**

* The referral bonus type is set globally for a specific user.
* The percentage can be changed at any time without changing the type.
* Changes apply to new bonuses; existing bonuses are not recalculated.
* Setting up does not require a system restart or additional integrations.

**Default behavior for new users**

For all new users created in the system, the default referral percentage is 0%.

This means that:&#x20;

* The referral system is formally active for the user, but

  No referrals are made until the administrator manually specifies a percentage greater than 0.

> ⚠️ To start receiving referral bonuses, the administrator must explicitly set the referral percentage for the user.

####

### Example usage scenario

* The administrator opens the Users section.
* Selects a user and clicks Edit in the Referral accrual type column.
* Sets the type to Referral accrual from profit or Referral accrual from exchange amount.
* Saves the changes
* Specifies the referral reward percentage (for example, 20%)
* The user begins to receive referral accruals according to the selected logic
