Meem Routing
Route every payment on purpose, and see why it went there
Build routing workflows visually across your own PSP accounts. Conditions, BIN rules, weighted splits, smart routing and failover live in one versioned, simulated and audited workflow.
What it does
Routing logic your payments and finance teams can read
Meem Routing decides which of your gateway accounts processes each payment, what happens when it fails, and whether the customer is offered recovery. Every decision is stored on the payment with the workflow id, version and reason.
Design visually
Drag conditions, routing nodes and terminals onto a canvas, start from one of 14 templates, and switch between Simple and Advanced modes.
Fail over safely
Ten failure categories decide what may move to the next account. Hard declines, risk rejections and unknown outcomes never fail over.
Change with control
Draft, validate, approve and publish with maker-checker, scheduled activation and one-step rollback. Every step is audited.
Capabilities
Everything a routing team needs, in one workflow
Each capability below is labelled with its current status in the product.
What the labels mean
- Available
- Implemented in the platform today.
- Sandbox
- Integration built; verification against the provider's sandbox with your credentials is pending.
- Simulated
- Available as a labelled simulation for demos and testing only. No real provider is called.
- Planned
- On the roadmap. Not available yet.
- Available
Visual Routing Studio
A React Flow canvas with Simple and Advanced modes, 14 templates, a triggers editor and executed-path highlighting.
- Available
Payment-option triggers
Bind workflows to payment options at merchant or sub-account level. Resolution order is explicit and recorded on each payment.
- Available
Conditional and BIN routing
Typed conditions on currency, amount, BIN or BIN range, brand, scheme, country, issuer country, card type and more.
- Available
Prioritisation and weighted splits
Pin an account, order fallbacks by priority, or split traffic by weight with deterministic bucketing.
- Available
Smart routing
Optimise for cost using the prices you declare, or for approval rate using recorded outcomes.
- Available
Failover policy
Ten failure categories, soft and hard decline classification, attempt caps, time budget, retry delay and provider scope.
- Available
Simulation and replay
Simulate without creating payments, keep saved scenarios as a publish gate, and replay up to 500 past payments against a version.
- Available
Versioning and governance
Draft → Validated → Approved → Published → Archived, maker-checker, scheduled activation, rollback and signed export/import.
- Available
Workflow analytics
Volume, approval rate, failover rate, recovery conversion and p50/p95 latency per workflow, version and node.
- Available
AI workflow assistant
Describe a change in plain language and get a draft workflow. It never saves or publishes; inputs are redacted and drafts audited.
- Available
Recovery branches
Recovery settings live on the workflow Start node, so each workflow decides whether customers see recovery after a conclusive decline.
- Available
Health-aware routing
Conditions can read gateway health, and a per-account circuit breaker keeps unhealthy accounts out of rotation.
Routing Studio
A canvas built around how payments really flow
Every workflow starts at a Start node that carries its failover policy and recovery settings. From there, typed condition nodes branch the payment and routing nodes pick the account. Terminals end the path with a route, a reject or a risk block.
- Condition fields include method, device type, metadata, gateway health, date/time range, day of week and traffic bucketAvailable
- Operators: equals, not-equals, in, not-in, >, <, ≥, ≤, between and not-betweenAvailable
- Routing nodes: pinned gateway account, ordered priority with fallbacks, weighted splitAvailable
- Executed-path highlight shows which branch a payment actually tookAvailable
- Production publishing asks for an explicit confirmationAvailable
Highlighted = path a sample payment took
Triggers and eligibility
The right workflow, then only the accounts that can take the payment
Payment-option triggers decide which workflow runs. Gateway eligibility then filters accounts by currency, scheme, method, country and supported operation, and explains why any account was skipped.
- Resolution order: explicit workflowId → sub-account trigger → merchant trigger → lanes → inherited → not configuredAvailable
- Workflow id, version and resolution reason are stored on every paymentAvailable
- Currency-aware eligibility per gateway account, with 12 explained reason typesAvailable
- Weighted split bucket = SHA-256 of the payment id, so a payment always takes the same branchAvailable
Resolved by: merchant trigger · card-payments v7
Failover
Fail over when it is safe, never when the outcome is unknown
Meem classifies every failure before deciding anything. Only configurable categories may move to the next account, within limits you set. Unknown outcomes are queried with the PSP first; if still unknown, the payment is held for reconciliation.
- Configurable: technical-before-submission, gateway unavailable, rate limited, not-processed-after-timeout, eligible soft declineAvailable
- Never fail over: hard decline, risk rejected, cancelled, ineligible soft decline (e.g. insufficient funds), technical-after-submissionAvailable
- Limits: max attempts (platform cap 3), time budget, retry delay, provider scopeAvailable
- A late success raises a critical alert and an approval-gated reversal task. Nothing is reversed automaticallyAvailable
May fail over (if enabled)
- Technical before submission
- Gateway unavailable
- Rate limited
- Not processed after timeout
- Eligible soft decline
Never fails over
- Hard decline
- Risk rejected
- Cancelled
- Ineligible soft decline
- Technical after submission
Simulation, versioning and AI
Test before you publish, and know who changed what
Simulation shows eligibility reasons, the failover plan and a recovery preview without creating a single payment. Saved scenarios become a regression gate on publish, and replay re-runs real history against a new version.
- Saved scenarios block a publish that changes their expected outcomeAvailable
- 100-payment split check verifies weighted splits before go-liveAvailable
- Maker-checker approval, mandatory in Production if you chooseAvailable
- Signed JSON export/import for moving workflows between environmentsAvailable
- AI assistant on OpenAI with a strict JSON schema: drafts only, off unless a key is configuredAvailable
- v8Draftmaker: ops-analyst
- v7Publishedchecker: payments-lead
- v6Archivedrollback available
Try it
Build a workflow in the Routing Studio demo
A browser-only version of the studio. Add conditions, reorder accounts and watch the executed path. Nothing here touches a real gateway.
How it works
From a payment request to a decision you can audit
- Step 1
Resolve the workflow
The payment option's trigger picks the workflow and published version, and records the reason on the payment.
- Step 2
Evaluate the path
Risk and routing conditions run in order. Eligibility removes accounts that cannot take the payment and explains why.
- Step 3
Route and classify
The chosen account processes the payment. Any failure is normalised and classified into one of ten categories.
- Step 4
Fail over, recover or hold
Eligible failures move to the next account within limits; conclusive declines may offer recovery; unknown outcomes go to reconciliation.
Technical details
Routing decisions are visible through the API
Every payment carries its routing trace, so support and engineering can see which workflow, version, node and account handled it.
Relevant API endpoints
POST/api/v1/paymentsCreate a payment; the resolved workflow routes itGET/api/v1/payments/{id}/routing-traceWorkflow, version, nodes evaluated and account chosenGET/api/v1/payments/{id}/timelineAttempts, failover steps and outcomes in orderGET/api/v1/payments/{id}/api-callsCaptured provider calls, with PAN/CVV redacted
GET /api/v1/payments/{id}/routing-trace
Authorization: Bearer <merchant token>
X-Correlation-Id: 7b0c…Specifications
- Node kinds
- Start, typed conditions, gateway, gateway priority, weighted split, smart routing, route, reject, risk block
- Failure categories
- 10 (5 configurable, 5 never fail over)
- Attempt cap
- Configurable, platform maximum of 3
- Replay
- Up to 500 past payments per run
- Lifecycle
- Draft → Validated → Approved → Published → Archived
- Audit
- Append-only log of governance steps and assistant drafts
- AI assistant
- OpenAI, strict JSON schema, drafts only; needs a configured keyAvailable
Frequently asked questions
Questions about Meem Routing
Map your routing logic with our team
Bring your providers, currencies and failure cases. We will model them in Routing Studio and simulate the outcome together.