Skip to content
Meem Payment

Routing

Conditions

Available

Conditions are the checks in a workflow. Each one looks at one attribute of the payment and sends it down the Yes or No branch. Chain them to combine checks, or use parallel branches for alternatives.

Availability

  • Typed condition steps

    Available
  • BIN intelligence conditions

    Uses cached BIN data and an optional public lookup; see BIN intelligence.

    Available

Condition steps

StepLooks at
CurrencyThe ISO 4217 currency, for example SAR or USD.
AmountThe payment amount.
Card BINThe first 6–8 digits of the card, or a BIN range.
Card brandVisa, Mastercard, Amex and so on.
Card schemeThe normalized scheme. mada is a first-class scheme next to Visa, Mastercard and Amex.
CountryThe payment country, the customer country or the IP country.
BIN intelligenceIssuing country, card type or card category.
Transaction typePurchase (sale) or authorize.
ConditionA general check on card brand, scheme, BIN, currency, amount, country, customer country, payment method, card issuer or transaction type.

The routing engine also understands device type, metadata, gateway health, date and time range, day of week and traffic bucket.

Operators

Operators read as plain words on the card: is, is not, is one of, is none of, is over, is under, is … or more, is … or less, is between. The engine also supports not between.

Add a condition

  1. Step 1: Click + where the check should go and choose a step under Check something.
  2. Step 2: In the Step panel choose the field (where the step offers one), the operator and the values. Separate several values with commas.
  3. Step 3: Connect the Yes and No branches to the next steps. Every branch must end at a gateway or finish step.
  4. Step 4: Run Test a payment with values on both sides of the check to confirm each branch.

Permissions

The console hides screens and actions you lack the permission for, and the API enforces the same permissions. See Roles and permissions for every role.

Permissions used in this article
PermissionAllowsBuilt-in roles
routing_workflows.manageCreate and edit workflows, triggers and saved tests; submit for approval; import; use the assistant.PlatformAdmin, MerchantAdmin
routing_workflows.readOpen workflows, validate, export, run saved tests, view performance and replay.PlatformAdmin, MerchantAdmin

This documentation reflects the platform as verified on 4 December 2026. Meem orchestrates payments across the PSP accounts you contract; it does not hold funds or process payments itself.