---
description: How the Transaction Size Strategy streamlines payment processing efficiently.
---

# Transaction Size Strategy Scenario

The Transaction Size Strategy is a targeted approach optimized for determining the most appropriate Merchant Identification Number (MID) based on the transaction amount. This method enhances the efficiency and optimizes the workflow of payment processing by ensuring that each transaction is routed to a suitable MID, according to specific administrative configurations and validation rules. The strategy unfolds through a structured process:

<figure><img src="https://697689627-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuvuyQluEi5QMHcp2TcU7%2Fuploads%2FCwDNkSD9XJguHT1TfJmJ%2Fimage.png?alt=media&#x26;token=6c5efbcf-062b-42c2-be9a-3a465723e8b0" alt=""><figcaption></figcaption></figure>

### **1- Start Processing Transaction**

Initially, the strategy commences by processing the incoming transaction to assess its amount.

### **2- Get Transaction Amount**

&#x20;It extracts the amount of the transaction to identify which MIDs are applicable.

### **3- Filter MIDs Within Amount Range**&#x20;

MIDs are filtered to find those that fall within the transaction's minimum and maximum amount range.

* **Matching MIDs Verification**: Checking for MIDs that meet specific transaction amount requirements
* **Non-compliance Action: Select MID Based on Criteria**:
  * **Select MID with Lowest Min Amount**: If the transaction amount is below the minimum of all MIDs, the MID with the lowest minimum amount is chosen.
  * **Select MID with Highest Max Amount**: Conversely, if the transaction amount surpasses the maximum limit of all MIDs, the MID with the highest maximum amount is selected.

### **4- Finalize MID Selection**&#x20;

The final stage involves confirming and finalizing the MID for processing the payment.

This structured process ensures that payments are processed efficiently by selecting the most appropriate MID, based on the transaction size. This approach not only streamlines the payment workflow but also ensures a higher level of transaction processing efficiency.
