# Order Priority Processing

The plugin is designed to manage the processing priority of requests for specific exchange directions.

Allows:

* speed up the processing of individual directions
* flexibly manage the priority fee
* set an individual payout time
* differentiate system behavior depending on the direction

#### 2. **General (General Settings)**

* **Enabled -** Enables or disables the priority processing plugin.

**Values:**

* `On` — the plugin is active, settings are applied
* `Off` — the plugin is disabled, all requests are processed in standard mode

#### 3. **Direction Priority Settings (Direction Priority Settings)**

This section allows you to set individual priority processing parameters for each exchange direction.

Each entry contains:

**Direction**

The exchange direction to which the priority applies.\
Format:\
`I give → I receive`

Examples:

* `BTC → USDTTRC20`
* `P24UAH → USDTBEP20`

**Fee Type (Fee Type)**

Determines how the fee for priority processing is calculated.

**Options:**

* **Percent** — a fee as a percentage of the request amount

<figure><img src="https://2918865942-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fp0ow3kIXHQDcl9DBdYiM%2Fuploads%2FfV5lSq64TAh6ddlqBc8N%2Fimage.png?alt=media&#x26;token=bb7547c7-b9ec-493e-8d54-5b2c23340155" alt=""><figcaption></figcaption></figure>

* **Static (fixed amount)** — a fixed fee amount directly in the "I give" currency

<figure><img src="https://2918865942-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fp0ow3kIXHQDcl9DBdYiM%2Fuploads%2FODT2d4feZeeDv9VasGKQ%2Fimage.png?alt=media&#x26;token=67c96c65-4d94-422e-ae50-dfc2254430d5" alt=""><figcaption></figcaption></figure>

**Fee Value (Fee Value)**

The amount of the fee depending on the selected type:

* For **Percent** — multiplier or percentage (for example `0.5` = +0.5%)
* For **Static** — fixed amount (for example 5)

**Payout Time (minutes)**

Expected request processing/payout time in minutes.

Used for:

* speeding up the processing of priority requests
* informing the user about the timeframes

Example:

* `5` — almost instant processing
* `20` — standard acceleration

**Active**

Determines whether the rule is applied.

**Values:**

* `Yes` — the rule is active
* `No` — the rule is disabled

#### 4. **Configuration examples**

**🔹 Example 1**

* **Direction:** `BTC → USDTTRC20`
* **Fee Type:** Percent
* **Fee Value:** `0.5`
* **Payout Time:** `5` minutes
* **Active:** Yes

👉 For requests in this direction, a +0.5% fee for priority processing is applied; payout time is up to 5 minutes.

**🔹 Example 2**

* **Direction:** `P24UAH → USDTBEP20`
* **Fee Type:** Static
* **Fee Value:** `5`
* **Payout Time:** `10` minutes
* **Active:** Yes

👉 A fixed fee of 5 units is charged for priority processing; requests are processed within 10 minutes.

<mark style="background-color:green;">After a client creates a priority request, in the admin panel in the "Requests" section you will see the corresponding information with the fee amount and the set processing time</mark>

<figure><img src="https://2918865942-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fp0ow3kIXHQDcl9DBdYiM%2Fuploads%2FmxNvUGqydmayRSV6tuAs%2Fimage.png?alt=media&#x26;token=af936eba-44f9-4aef-9cd1-e1cc5064dd25" alt="" width="411"><figcaption></figcaption></figure>

#### 💡 Features

* The settings apply only to active (`Active = Yes`) directions
* If there are no settings for a direction — the standard processing logic is used
* The priority fee is added to the main payment amount for the exchange
* Different fee types can be combined for different directions

#### 💡 Recommendations

* Use **Percent**, if request amounts vary greatly
* Use **Static**, if you need a fixed income from priority requests
* For “VIP directions,” set the minimum time (`5-10 minutes`)
* Regularly check the balance between speed and the load on operators/auto-processing.
