Meem Risk
Clear, auditable risk controls in front of every payment
Define the rules your business needs, from amount thresholds to velocity and BIN lists, and use card intelligence inside your routing. Every block is explicit, returns a consistent error and leaves a risk event you can review.
- Amount thresholdPass
- Country allow listPass
- Velocity: card attempts in windowBlock
Outcome402 RISK_BLOCKED
Risk event recorded · no provider called · no failover
What it does
Deterministic rules you can explain to your team and your PSP
Meem Risk evaluates payments against rules you control, before they reach a provider. It complements the fraud screening your PSPs and issuers already run; it doesn't replace it.
Rules you own
Amount thresholds, country, IP-country and BIN allow/block lists, velocity and customer-identifier rules, scoped to a merchant or applied platform-wide.
Card intelligence in routing
Use issuer country, card type and card category from BIN intelligence as routing conditions, and end a branch with a risk-block terminal.
Every decision on record
Blocks return RISK_BLOCKED and record a risk event. Rule changes and blocks are written to the append-only audit log.
Capabilities
Risk controls built into the payment flow
Each control is labelled with its current status.
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
Rule engine
Merchant-scoped and platform-wide rules evaluated on every payment, with blocks returning RISK_BLOCKED.
- Available
Amount thresholds
Block payments above or outside the amounts you set for a merchant.
- Available
Country and IP-country lists
Allow or block by country and by the IP address's country.
- Available
BIN allow and block lists
Allow or block specific card BINs for a merchant or across the platform.
- Available
Velocity checks
Limit how often payments can be attempted in a window, to slow down card-testing and repeated attempts.
- Available
Customer identifier rules
Block payments tied to specific customer identifiers.
- Available
BIN intelligence
Issuer country, card type and card category from a cached lookup chain, usable in rules and routing.
- Available
Decline intelligence
Normalised decline codes and categories across providers, for analysis and safe failover decisions.
- Planned
ML scoring and device fingerprinting
Model-based risk scoring and device signals.
Rule engine
Rules with a clear scope and a clear outcome
Rules can apply to a single merchant or to the whole platform. When a rule blocks a payment, the API returns HTTP 402 with the RISK_BLOCKED code and a risk event is recorded, so support and finance see the same explanation the integration received.
- Rule types: amount threshold, country allow/block, BIN allow/block, velocity, IP-country allow/block, customer identifierAvailable
- Merchant-scoped and platform-wide rulesAvailable
- Blocks return RISK_BLOCKED (HTTP 402) and record a risk eventAvailable
- Risk blocks and configuration changes recorded in the append-only audit logAvailable
- Amount threshold> 50,000 SAR (sample)Merchant
- IP-country blockSample listPlatform
- BIN block411111 (sample)Merchant
- Velocity5 attempts / 10 min (sample)Merchant
- Customer identifiercust_sample_01Merchant
BIN intelligence
Know the card before you route it
BIN intelligence resolves a card's issuer country, card type and card category through a lookup chain: an in-memory cache, then a database cache, then an optional external lookup. The external lookup is off by default, rate-limited, and its results are marked unverified.
- Lookup chain: cache → database cache → optional binlist.netAvailable
- External lookup off by default, rate-limited, results marked unverifiedAvailable
- Issuer country, card type and card category available as routing conditionsAvailable
- No commercial BIN data feed is included todayPlanned
- 1Memory cache
- 2Database cache
- 3binlist.net (optional, off by default)
Result · 4111 11•• •••• ••••
- Issuer country
- SA
- Card type
- credit
- Card category
- classic
External results are marked unverified
Risk-based routing
Put risk decisions inside your routing workflow
In Routing Studio, BIN-intelligence conditions sit alongside currency, amount and country conditions. A risk-block terminal ends a branch with an explicit block, so higher-risk segments can be routed differently or stopped, and the decision appears in the payment's routing trace.
- Conditions on issuer country, card type, card category, BIN and BIN rangeAvailable
- Risk-block terminal nodeAvailable
- Risk-rejected payments never fail over to another providerAvailable
- Simulate a workflow before publishing; no payments are createdAvailable
How it works
From rule to recorded decision
- Step 1
Define rules
Create merchant or platform rules for amounts, countries, IP countries, BINs, velocity and customer identifiers.
- Step 2
Add risk to routing
Use BIN-intelligence conditions and the risk-block terminal in your routing workflows, and simulate them before publishing.
- Step 3
Evaluate every payment
Rules run before the payment reaches a provider. A block returns RISK_BLOCKED and the payment never fails over.
- Step 4
Review and adjust
Investigate risk events, decline categories and alerts, and tune rules. Every change is audited.
Technical details
Predictable behaviour for your integration
Risk blocks use the same error contract as declines, so a single code path handles both. The routing trace shows which condition or terminal applied.
Relevant API endpoints
POST/api/v1/paymentsRules are evaluated on creation; a block returns 402 RISK_BLOCKEDGET/api/v1/payments/{id}Payment status, including risk-blocked outcomesGET/api/v1/payments/{id}/timelineEvents for the payment, including risk decisionsGET/api/v1/payments/{id}/routing-traceConditions evaluated and the terminal reachedPOST/api/v1/webhook-endpointsReceive signed payment events such as declined and failed
# Illustrative request. See the API reference for the full schema.
POST /api/v1/payments HTTP/1.1
Authorization: Bearer <merchant-scoped token>
Idempotency-Key: order-20871-attempt-1
Content-Type: application/json
{ "amount": 9800, "currency": "SAR", "capture": true }
HTTP/1.1 402 Payment Required
{ "code": "RISK_BLOCKED" }
# Abbreviated. A risk event is recorded and no provider is called.Specifications
- Block response
- HTTP 402 with code RISK_BLOCKED; a risk event is recorded
- Rule scope
- Merchant-scoped or platform-wide
- BIN data
- Cache → DB cache → optional binlist.net (off by default, rate-limited, unverified)
- Failover
- Risk-rejected payments are never failed over
- Audit
- Append-only audit log covering configuration and risk blocks
- ML scoring
- Model-based scoring and device fingerprintingPlanned
Frequently asked questions
Questions about Meem Risk
Put clear risk controls in front of your payments
Review rules, BIN intelligence and risk-based routing with our team, using your markets and payment mix.