KibiPay
HomeBlog › Fraud & AML

How Real-Time Transaction Monitoring Works

6 min read Fraud & AML
transaction-monitoringreal-timefraud

When money moved slowly, monitoring could afford to be slow too. Suspicious transactions were reviewed in overnight batches, and if something looked wrong, an analyst investigated the next day. Instant payments broke that model. When funds settle in seconds and cannot be clawed back, monitoring has to happen while the transaction is still in flight. Real-time transaction monitoring is the set of techniques that make that possible. This post walks through how it actually works, from the moment a transaction arrives to the moment a decision is returned.

Batch versus real time

The difference between batch and real-time monitoring is not just speed, it is what you can do with the result. In a batch model, detection is retrospective: you learn that a pattern was suspicious after the money has moved. In a real-time model, detection is contemporaneous, which opens the door to intervention, holding, or additional verification before settlement completes.

AspectBatch monitoringReal-time monitoring
TimingAfter settlement, often overnightDuring the transaction flow
Possible actionInvestigate, report, remediateHold, challenge, or block before completion
Latency budgetHoursMilliseconds to seconds
Best suited toPeriodic review, reportingInstant rails, fraud interdiction

The monitoring pipeline

Most real-time systems share a common shape: an event-driven pipeline that a transaction passes through. Understanding the stages makes the whole thing less mysterious.

Ingestion

A transaction event enters the system, usually as a message on a queue or stream. Event-driven ingestion matters because it decouples the payment rail from the monitor and lets the system absorb bursts of traffic without dropping events.

Enrichment

Raw transaction data is rarely enough on its own. The enrichment stage attaches context: the customer's history, recent velocity, device or channel information, counterparty details, and any relevant reference data. Good enrichment is often what separates a useful alert from noise, because most meaningful signals are relative to a baseline rather than absolute.

Evaluation

This is the heart of the system. The enriched event is checked against detection logic, typically expressed as rules and typologies. A rule tests a single condition, for example whether the amount exceeds a threshold or whether the number of transfers in the last hour is unusually high. A typology combines several rule outcomes into a judgement about a behaviour pattern, such as structuring or rapid pass-through of funds. Separating rules from typologies keeps the logic modular and reusable.

Scoring and decision

The evaluation produces a score or a determination. Depending on the threshold and the scheme's policy, this might raise a case for an investigator, trigger a step-up check such as additional verification, or signal that the payment should be held or blocked. Crucially, the monitor usually returns this decision fast enough for the payment system to act on it before completing settlement.

Stateful checks and the latency problem

The hardest part of real-time monitoring is doing stateful work quickly. Many valuable signals depend on history: how many transactions this account made today, the average value over the last month, whether this counterparty is new. Computing these on the fly, for every transaction, within a tight latency budget, is a genuine engineering challenge.

Systems solve it with a mix of techniques: pre-aggregated counters and windows that are updated incrementally, fast in-memory stores for hot state, and careful separation of the low-latency decision path from heavier analytics that can run slightly behind. The design goal is to keep the critical path lean so that the decision returns in milliseconds, while richer but slower analysis happens alongside.

False positives and tuning

A monitoring system that flags everything is useless, because investigators drown and legitimate customers are blocked. Managing the false-positive rate is a permanent discipline, not a one-time setup. Teams tune thresholds, refine typologies, and review outcomes to keep alerts both sensitive and precise. This is why explainability matters: when you can see exactly which rule fired and why, you can tune with confidence and evidence your decisions to regulators.

The measure of a monitoring system is not how many alerts it produces, but how many of them are worth an investigator's time.

Real-time monitoring in practice

Purpose-built open platforms exist for exactly this pattern. Tazama, for example, is an open-source platform for real-time fraud and AML monitoring built around an event-driven pipeline and configurable typologies, designed to run at high volume and to interoperate with open payment rails. At KibiPay we use it to screen transactions across our rails as they flow, so that risk decisions happen in the moment. The general shape, ingestion, enrichment, evaluation, decision, is consistent whether you build, buy, or adopt open source.

Designing for the rail you run

The right monitoring design follows from the rail. A card scheme, a UK instant-payment flow, and a Mojaloop-based scheme have different latency budgets, data shapes, and risk profiles. Start from the timing the rail demands and the typologies your risk assessment requires, then design the pipeline to meet them. Over-engineering for latency you do not need wastes effort; under-budgeting for latency you do need means your controls arrive too late to matter.

Takeaway: real-time transaction monitoring is an event-driven pipeline that enriches each payment, evaluates it against rules and typologies, and returns a decision fast enough to act on. The engineering challenge is doing stateful analysis within a tight latency budget, and the operational challenge is keeping alerts precise. Get both right and monitoring shifts from retrospective reporting to genuine interdiction.

See these rails in motion

KibiPay connects UK Faster Payments, Bacs, CHAPS, Mojaloop mobile money and Solana behind one API, with ISO 20022 messaging and real-time fraud & AML screening.

Open the live console How it works