Skip to main content

Technical

Transaction Monitoring Rule Engine: Catch Fraud in 8 Steps

A transaction monitoring rule engine scores every transaction against your active rules and returns APPROVED, IN_REVIEW, DECLINED or AWAITING_USER, depending on scores and rule actions.

Transaction Monitoring Rule Engine: Catch Fraud in 8 Steps

Contents

In this guide

Jump to the part you need.

A transaction monitoring rule engine evaluates each transaction the moment it reaches your API, adds up the score of every rule that matches, and returns APPROVED, IN_REVIEW, DECLINED or AWAITING_USER, depending on scores and rule actions. It fits fintech, payments, crypto and iGaming teams that need a decision while the transaction is still open. Transaction Monitoring costs $0.001 per transaction beyond your plan allowance, which is 1,000 transactions a month on Free. The caveat: rules only fire on the data you actually send.

Prices checked against the live Didit price feed on November 26, 2026.

Didit Transaction Monitoring at a glance, November 26, 2026
QuestionAnswer
What it doesScores every submitted transaction against every active rule and maps the score to a status
Who it fitsFintech, payments, crypto, iGaming and marketplaces that need a hold or decline decision while the transaction is still open
What you sendPOST /v3/transactions/ with transaction_id, both parties, amount and currency
What you get backstatus, score, rule_runs[], plus IP enrichment and counterparty AML screening
Preset rules150+ presets in the library, covering finance, AML/CTF, FATF, device intelligence, crypto, travel rule, iGaming, e-commerce and BNPL
Price1,000 monitored transactions a month on Free, 10,000 on Growth, 100,000 on Scale; $0.001 per transaction beyond the allowance
Time to first alertUnder 10 minutes following the quickstart
Human boundaryIN_REVIEW waits for analyst triage; AWAITING_USER waits for customer remediation

Start free in the sandbox at business.didit.me, no sales call. Developers who want to install and tune rules from a prompt can connect the Didit MCP server to an AI assistant. The product page is Transaction Monitoring and every unit price is on didit.me/pricing.

What you end up with, and why the method works this way

You get three things: a synchronous decision on every transaction, a rule-by-rule audit trail in rule_runs[], and a review queue containing transactions held by rules, thresholds or analysts. The same path covers fiat and crypto.

Order matters. Install a preset from the library and set its mode to TEST so it evaluates and records its result without affecting the transaction status. Watch which presets fire on your traffic, then switch the ones you trust to ACTIVE. Leave preferred_decline_score_threshold at its default of 500, which means never decline by score, and let preferred_review_score_threshold route scores to the review queue. Change a threshold only after you have seen your real rule mix.

Academy lesson screen showing real-time transaction monitoring rules for fiat and crypto
The rule engine lesson walks through creating a rule: trigger, conditions, actions and scoring, then back-testing before deploy.

Prerequisites

  • A Didit application with Transaction Monitoring enabled under Settings, Transaction Monitoring, Enable.
  • An API key. The same keys you use for sessions and entities, sent in the x-api-key header. The integration guide covers the full surface beyond the quickstart.
  • A webhook endpoint reachable from the internet.
  • A transaction_id generated on your side for every transaction before you submit it. Never rely on a Didit-generated id for idempotency.
  • A review threshold and a decline threshold agreed with your compliance lead. Defaults are 75 and 500.
  • Optional: a vendor_data value per customer that stays stable across transactions, so velocity rules can aggregate history.

How to catch real-time fraud in 8 steps

  1. Enable Transaction Monitoring and set your thresholds. In the Business Console open Transactions, then Settings. Configure preferred_review_score_threshold and preferred_decline_score_threshold. The default decline threshold is 500, which is also the maximum, and it means never decline by score. Lower it only after you have seen your real rule mix.

  2. Submit a baseline transaction. This follows the quickstart sequence, where no rules are active yet, so it shows the clean path. If your application already has active rules, the transaction may score or go to review. The transactions payload documents every field you can add later.

    curl -X POST https://verification.didit.me/v3/transactions/ \
      -H "x-api-key: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "transaction_id": "baseline-0001",
        "transaction_category": "finance",
        "transaction_details": {
          "direction": "outbound",
          "amount": "500.00",
          "currency": "EUR"
        },
        "subject": { "entity_type": "person", "vendor_data": "user-42", "full_name": "Jane Doe" },
        "counterparty": { "entity_type": "company", "full_name": "Acme Supplier" }
      }'
  3. Read the three fields that matter. status is APPROVED when nothing fired, and IN_REVIEW or DECLINED when something did. score is an integer that starts at 0 and sums the score_delta of every matched rule, and your two thresholds map it to a status, as the risk scoring page sets out. rule_runs is the array of every rule that evaluated the transaction, matched or not.

  4. Install a preset rule from the library. Go to Transactions, Rules, Library. Pick a preset such as Structuring (outbound), which triggers when the same user sends 20 or more outbound transfers under 10,000 within 30 days. Set its mode to TEST first so it evaluates without affecting status, then move it to ACTIVE. The rules library lists every preset; preset conditions, thresholds and actions are fixed by the installed preset and only its mode can change, while your application-level review and decline thresholds still shape how the score becomes a status, so build a custom rule when you need different logic.

  5. Submit transactions that trigger the rule. Send 20 outbound transfers for the same vendor_data, each under the threshold, changing only the transaction_id:

    curl -X POST https://verification.didit.me/v3/transactions/ \
      -H "x-api-key: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "transaction_id": "struct-01",
        "transaction_category": "finance",
        "transaction_details": {
          "direction": "outbound",
          "amount": "9500.00",
          "currency": "EUR"
        },
        "subject": { "entity_type": "person", "vendor_data": "user-42", "full_name": "Jane Doe" },
        "counterparty": { "entity_type": "company", "full_name": "Shell Co 01" }
      }'

    Repeat with struct-02 through struct-20. By the twentieth submission the structuring rule fires and the transaction comes back IN_REVIEW.

  6. Subscribe to transaction webhooks. Register the endpoint, save the signing secret it returns, and verify the X-Signature-V2 HMAC on every delivery before you trust the body.

    curl -X POST https://verification.didit.me/v3/webhook/destinations/ \
      -H "x-api-key: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "label": "TM events",
        "url": "https://yourapp.com/webhooks/didit-tm",
        "subscribed_events": ["transaction.created", "transaction.status.updated"]
      }'
  7. Inspect the decision in the console. The Transactions list gives you filters and bulk actions. The transaction detail page shows rule runs, IP enrichment, party details, the network graph for crypto, and linked alerts and cases.

  8. Retrieve any transaction by id. Use this to reconcile your own ledger or to answer a regulator question months later.

    curl https://verification.didit.me/v3/transactions/{transaction_id}/ \
      -H "x-api-key: YOUR_API_KEY"
One transaction monitoring rule open in the Didit Business Console
One rule in the Didit Business Console: conditions, aggregation window and the actions it applies when it matches.

Expected output

The baseline transaction returns status: APPROVED and score: 0, with rule_runs listing the rules that evaluated it and did not match. The twentieth structuring submission returns status: IN_REVIEW with a score that reflects the preset's delta of 35. A transaction that matches two rules looks like this:

{
  "txn_id": "tx-0002",
  "status": "IN_REVIEW",
  "score": 65,
  "rule_runs": [
    {
      "rule_title": "High-value outbound",
      "matched": true,
      "score_delta": 30,
      "status_target": null,
      "action_summary": "score +30"
    },
    {
      "rule_title": "High-risk jurisdiction counterparty",
      "matched": true,
      "score_delta": 35,
      "status_target": "IN_REVIEW",
      "action_summary": "score +35; add_tag:high_risk_country"
    }
  ]
}

Status mapping is arithmetic. A transaction is declined only when a decline threshold below 500 is set and the score reaches it; otherwise a score at or above the review threshold goes to IN_REVIEW and everything else is APPROVED. Individual rules can override this with a change_status action.

Transaction monitoring alert detail screen in the Didit Business Console
The alert detail view: the held transaction, the rule runs behind it, the parties and the decision controls.

When the status is final, and when AML can still change it

Most decisions are synchronous. Rules evaluate when you submit, and the status comes back in the same response, so you can hold the transaction while it is still open. Some signals arrive later: an async AML or crypto screening result can update the score after the transaction record exists, and an analyst can move a transaction out of IN_REVIEW. Both cases reach you as a transaction.status.updated webhook, so treat that event as your final decision signal and transaction.created as the first record. The integration guide shows both events in the architecture.

Inputs and outputs

What you send to the rule engine and what comes back
You sendFieldIt produces
Your transaction identifiertransaction_idThe idempotency key, unique per application
Categorytransaction_categoryWhich rule bundles can apply: finance, travel_rule, user_event, gambling_bet and others
Amount, currency, direction, actiontransaction_detailsThreshold, velocity, structuring and layering checks
Your customersubject with vendor_dataA link to the user or business profile, so rules aggregate across sessions
The other sidecounterpartySanctions and AML screening, jurisdiction and counterparty checks
Device contextdevice_context on a partyDevice intelligence rules: shared fingerprint, multi-accounting, VPN or proxy, impossible travel
Your own fieldscustom_propertiesRule conditions written against your data, such as an invoice category
Decisionresponse statusAPPROVED, IN_REVIEW, DECLINED or AWAITING_USER
Riskresponse scoreAn integer, the sum of every matched rule's delta
Explanationresponse rule_runs[]One entry per evaluated rule, with score_delta and action_summary

AML transaction monitoring rule examples regulators care about

These are the presets most reviewers ask about first. Each maps to a typology that appears in FATF guidance, in national reporting rules or in published supervisory findings. The rules library lists every preset with its trigger and, where published, its ship default action.

Documented triggers, and where the action comes from
RuleDocumented triggerAction
structuring-outbound20 or more outbound transfers under $10,000 by the same subject within 30 days+35 score
single-transaction-just-below-thresholdA single transaction between $9,000 and $9,999+25 score
round-amount-layeringAmount equals a round value such as $10,000, $50,000 or $1M+20 score
large-single-transactionA single transaction of $25,000 or more+50 score and IN_REVIEW
cumulative-outbound-volumeOutbound volume of $100,000 or more within 30 days+45 score and IN_REVIEW
High-risk jurisdiction exposureCounterparty or subject IP in a FATF-listed high-risk jurisdictionUse the installed rule's configured action
Dormant account reactivationAn account inactive for 12 months or more sends a transactionUse the installed rule's configured action
Sanctions counterparty matchThe counterparty screening result returns a sanctions matchUse the installed rule's configured action
Rapid in-and-out movementFunds arrive and leave again inside a short windowUse the installed rule's configured action
Shared device fingerprint across subjectsTwo or more distinct subjects transact from one device fingerprintUse the installed rule's configured action

The first five rows are documented with their ship defaults. The rest are documented as scenarios: the engine evaluates the data you submit against the installed rule, and the action that follows comes from that rule's configuration, so read it before you activate the rule. Preset conditions, thresholds and actions depend on the installed rule configuration; to run different logic, build a custom rule.

Real-time monitoring of director changes as a corporate fraud defense

Corporate fraud rarely announces itself as a transaction. It usually arrives first as a change in who controls the company: a new director, a new owner, a new payout account on file. If that change is only discovered at the next annual review, the money has already left.

Didit covers both halves with Business Verification: it pulls the company from the registry with its key people, the directors and owners, and links each of them to a full ID check. Company registry monitoring then watches that record afterwards at $2.00 per company a year. One workflow you can run: after you independently confirm a registry change, re-run the business verification, then submit a documented transaction with transaction_category set to user_event that carries the updated vendor_data, if that pattern matches your implementation. Your active rules evaluate that submitted event the same way they evaluate any other transaction, and the outcome comes back in the response and in rule_runs[]. You submit the event; the rules you configured decide what happens to it.

Business Console view of a company's key people each linked to a KYC check
Key people on a business profile, each linked to their own KYC check. A change here is the event you submit back to the rule engine.

What it costs: a worked example

Published unit prices only. Take one month with 40,000 monitored transactions and 4,000 crypto withdrawals that each need a wallet screening, on the Growth plan.

  • Monitored transactions included in Growth: 10,000. Chargeable: 40,000 minus 10,000 = 30,000.
  • Transaction Monitoring overage: 30,000 x $0.001 = $30.00. The $0.001 rate is the same on every plan, so the 4% Growth discount does not change it.
  • Wallet screening at list price: 4,000 x $0.15 = $600.00. At the Growth rate of $0.144 per screening: 4,000 x $0.144 = $576.00.
  • Total usage at Growth rates before credit: $30.00 + $576.00 = $606.00.
  • Plan credit applied to usage first: $606.00 minus $115.00 of monthly Growth credit = $491.00 of usage left to pay.
  • Total for the month on Growth: $99.00 plan fee + $491.00 of usage = $590.00.
  • For comparison, the same usage priced at list rates is $30.00 + $600.00 = $630.00; applying the same $115.00 Growth plan credit leaves $515.00 of usage to pay, before the $99.00 plan fee.
  • On Scale, 100,000 monitored transactions are included, so the overage is $0.00, and wallet screening is 4,000 x $0.135 = $540.00. After the $350.00 Scale credit, $190.00 of usage is left to pay plus the $299.00 plan fee.

Monthly credit does not roll over and expires at the end of the plan month. Top ups are added at face value and last 12 months. All figures are USD list prices from the live price feed read on November 26, 2026, and a published price does not by itself establish production availability in your country. The full price list is on didit.me/pricing.

Failure cases and recovery

What goes wrong on a first integration and how to get out of it
SymptomCauseRecovery
400 with the message A transaction with this transaction_id already exists.You resubmitted a transaction_id already used in this applicationDo not resubmit. Read the existing record with GET /v3/transactions/{uuid}/ using the uuid from the first response or from the transaction.created webhook
409 on two identical requestsBoth requests raced each otherSame recovery: look the existing transaction up instead of retrying
A rule never firesThe installed preset is in DISABLED or TEST mode, or its scope excludes this category or directionSet the mode to ACTIVE and check the scope keys transaction_types, directions and action_types
A velocity rule never firesvendor_data changes between submissions, so history never aggregates to one subjectSend one stable vendor_data per customer, every time
High score but the status is APPROVEDThe decline threshold is at its 500 default, which means never decline by score, and no rule forced a statusLower preferred_decline_score_threshold, or give the rule a change_status action
400 when a rule sets AWAITING_USERThe action has no workflow_idAttach the remediation workflow id to the action
Webhooks never arriveThe destination is not reachable, the event is not in subscribed_events, or your handler rejects the signatureSubscribe to transaction.created and transaction.status.updated, then verify the X-Signature-V2 HMAC over the canonical body with a constant-time compare
The review queue fills with thousands of alertsSix months of history was ingested against a 30-day velocity ruleUse the console CSV import with the dry ingest flag, or enable rules only after ingestion finishes
A library rule answers 400 and installs nothingThe rule is withheld because the engine cannot yet evaluate its conditionsPick another library key. A withheld rule returns to the library on its own once it can run

What you pay for, at list prices from the feed:

  • Transaction Monitoring: $0.001 per transaction beyond the monthly allowance. The allowance is 1,000 on Free, 10,000 on Growth and 100,000 on Scale, and Enterprise sets it in the contract. It resets on the 1st and does not roll over.
  • Wallet Screening: $0.15 per screening. If you already have a screening provider, bring your own screening provider and run it inside Didit.
  • AML Screening: $0.20 per check for the standalone call. Ongoing AML monitoring is $0.07 per person a year.
  • Company registry monitoring: $2.00 per company a year. Business verification is priced by country and data tier from $2.00 per company, with owners and officers billed as a linked ID check plus person AML.
  • Free on every plan: the sandbox, reusable KYC, the workflow orchestrator, the MCP server and the SDKs.

What a person decides, whatever the rule set says:

  • Every transaction sitting in IN_REVIEW or AWAITING_USER. Those two statuses are the alerts, and there is no separate alert record to manage.
  • Whether to file a suspicious activity report. The engine flags, a person files.
  • Every move of a rule from TEST to ACTIVE, and every threshold change. Threshold changes apply to new transactions only, so history keeps the status it was evaluated with.
  • Every decline override, including raising the decline threshold back to 500 to route high scores to review instead of blocking.

For the schema behind these calls, read the quickstart, the rules deep dive and the response schema.

Sources

Next step: open the sandbox at business.didit.me, enable Transaction Monitoring, and submit the baseline transaction above. No sales call.

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alberto Rosas

Co-founder and CEO

Alberto Rosas

Alberto Rosas

Co-founder and CEO

About Didit

Questions

Frequently asked questions

What is a transaction monitoring rule engine?

It is software that evaluates each incoming transaction against explicit conditions and turns everything that matches into one decision. In Didit, every transaction sent to POST /v3/transactions/ runs through every active rule and comes back as APPROVED, IN_REVIEW or DECLINED, with the evaluated rules in rule_runs[]. Rules can be presets from a library of 150+, or custom rules your team builds.

What are some AML transaction monitoring rule examples?

Documented presets include structuring outbound (20 or more transfers under $10,000 in 30 days, +35 score), a single transaction just below a reporting threshold (+25 score), round-amount layering (+20 score), a large single transaction of $25,000 or more (+50 score and review) and cumulative outbound volume of $100,000 in 30 days (+45 score and review). Didit also ships presets for high-risk jurisdiction exposure, dormant account reactivation, sanctions counterparty matching, rapid in-and-out movement and shared device fingerprints, where the action comes from the installed rule's configuration. You install each preset and can run it in test mode before it affects customers.

How do I choose AML software with reliable detection that does not miss the suspicious activity patterns regulators care about?

Check three things. First, whether the vendor ships rules mapped to named typologies rather than only a blank rule builder, because a blank builder shifts the typology work back to you. Second, whether every transaction returns an explainable trail, since Didit returns rule_runs[] with each rule's delta and action so an auditor can see why a transaction was held. Third, whether you can run new rules against live traffic before they affect customers, which Didit supports with TEST mode.

How does a rule engine differ from machine learning in fraud detection?

A rule engine applies explicit, human-written criteria, so every hold is explainable and repeatable. A machine learning model learns from historical data and can catch patterns nobody wrote down, but its reasoning is harder to defend in an audit. Didit evaluates explicit rules and returns the rule-by-rule reasoning in each transaction response, which is what a compliance file usually needs.

How fast can a transaction monitoring rule engine catch a fraudulent transaction?

Fast enough to act before the transaction settles, because rules evaluate synchronously on submission and the decision returns in the same API response. Subscribe to transaction.created and transaction.status.updated and your systems also hear about every new transaction and every later status change, including an analyst decision or an async AML result. That means the hold can happen while the payment is still open.

Can a transaction monitoring rule engine prevent all fraud?

No. A rule engine catches the patterns you can express and the typologies others have already documented, and it misses novel schemes until a rule or a signal covers them. Layered scores can combine several signals, but a rule action can also set DECLINED directly. Test mode lets you validate a rule before it goes live. Treat it as one layer of a fraud program, not a guarantee.

What data does the rule engine evaluate?

It evaluates the transaction itself (amount, currency, direction, action type), both parties with their payment methods and device context, your own fields in custom_properties, the linked historical transactions for the same vendor_data, and enrichment Didit adds inline such as IP country, ASN and VPN or Tor flags. Counterparties are also screened against sanctions and adverse media lists. A library rule whose conditions the engine cannot evaluate yet is withheld rather than silently skipped.

How does real-time monitoring of director changes defend against corporate fraud?

Because control of a company, and therefore control of its money, changes through people before it changes through transactions. Verify the company and its key people, monitor the registry record at $2.00 per company a year, and when a director or owner change is confirmed, submit a user_event transaction so your active rules evaluate the new data on the same path as any other event. The result comes back in the response and in rule_runs[], and the analyst sees the record in the console.

What happens when a rule fires?

The rule executes its actions: add score, change status, add tags, add a note, add the subject to a list, or open a case. The score accumulates across all matched rules and is compared with your review and decline thresholds to set the final status. A transaction in IN_REVIEW or AWAITING_USER is an alert in the console, where an analyst triages, assigns, resolves or escalates it to a case.

How do I reduce false positives without missing real risk?

Run new rules in TEST mode against live traffic first: the rule evaluates and records is_test = true without contributing to the score, so you can measure selectivity safely. Then tune the two thresholds rather than the rules, since raising the review threshold thins the queue and lowering it catches more edge cases. Keep declines rare by leaving the decline threshold at 500 and letting several stacked rules push a transaction into review instead.

Does Transaction Monitoring work for crypto?

Yes. Set currency_kind to crypto and put the wallet address in the counterparty's account_id, and wallet screening runs at $0.15 per screening. Crypto presets cover mixer and obfuscation exposure, high-risk source of funds, unhosted wallets and chain hopping. If you already have a screening provider, bring your own screening provider and run it inside Didit.

Compliance built in

Audited, certified and attested.

We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center

  • Regulation encoded into your flows

    Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.

  • Ready for AMLR

    Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.

  • Tested in Spain's Treasury sandbox

    Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.

  • Audited, not self-declared

    iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • SOC 2 Type 2
  • ISO 27001
  • iBeta Level 1 and Level 2
  • EU regulator attestation
  • FSM youth protection
  • GDPR
  • EBA remote onboarding
  • MiCA compatible
  • FIDO Alliance member
  • AMLREU AML Regulation ready

Integration · Didit MCP

Run Didit from your own AI agent

Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
  • Run investigationsAsk why a session was declined, review cases, search people and companies.
  • Change rulesCreate payment rules, test them on past data and switch them on.
  • Pull reportsAsk for numbers, exports or the audit log.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.