Fraud systems fail in two directions. Too loose, and losses grow. Too tight, and you block paying customers - a cost that never appears in the fraud line but shows up in churn and support load. The job is to move that trade-off, not to eliminate fraud.
That framing matters because it changes what you build. A model that catches more fraud at the cost of three times the false positives is not automatically an improvement.
The typologies that matter locally
- Account takeover through SIM swap, OTP phishing or a compromised email. The transaction looks legitimate because the credentials are valid.
- Authorised push-payment scams, where the customer genuinely approves the payment after being persuaded. No transaction model catches this alone; behavioural and recipient signals matter more.
- Mule accounts, often opened with real IDs and used to receive and move stolen funds. Graph features - shared devices, recipients, timing - are more useful than amount thresholds.
- Synthetic identities and loan stacking, where a plausible identity is assembled from real and invented details.
- Chargebacks and friendly fraud, which are a dispute problem as much as a detection problem.
- Agent and insider collusion, where the fraud happens inside an assisted channel.
Each has a different signal and a different response. A single "fraud score" with one threshold will over-block in some channels and under-detect in others.
Rules first, then models
A rules engine gives you an immediate floor, explains its decisions, and handles known patterns such as velocity limits or a blocklist of confirmed mule accounts. A model adds coverage for combinations nobody wrote down.
A workable decision stack is: model score, then hard rules, then a routing decision - allow, step up authentication, send to review, or block. Never deploy a model with no rules and no analyst override; you will have no way to explain a decline or stop a bad pattern quickly.
Data that carries signal
- Transaction: amount, counterparty age, channel, time, frequency, deviation from the customer's normal pattern.
- Device and network: fingerprint, IP reputation, emulator signals, SIM age, number porting history.
- Behavioural: session timing, navigation, copy-paste, typing cadence where you collect it lawfully.
- Account: KYC level, account age, prior disputes, limit changes.
- Bureau and telco data where permitted.
- Case outcomes: confirmed fraud, customer error, legitimate. These labels are the bottleneck.
Most fintechs have plenty of events and very few reliable outcomes. Plan for a labelling process before you plan for a model.
Architecture and latency
Stream transactions through a queue, compute features at scoring time from the same definitions used in training, and serve scores within your payment budget. Keep a replayable event log so an investigation can reconstruct exactly what the system saw.
Separate the decision engine from the model. Fraud patterns and business rules change faster than models can be retrained; you need to change a threshold today without a deployment.
Evaluation that reflects money
- Precision at the alert volume your analysts can actually work. A model that flags 10,000 cases a day at a 20-person team is not deployable.
- Recall on confirmed fraud, by typology, not just overall.
- A cost matrix: loss avoided versus false-positive cost versus review cost versus customer friction.
- Time to detect and time to block a confirmed mule.
- Stability by channel and segment, because a model that works on app transactions may fail on USSD.
Backtest chronologically. Random train/test splits on fraud data leak future information and produce numbers that collapse in production.
Working with the risk team
Risk owns the thresholds; the model proposes. Review false positives weekly, keep a fast path to whitelist a legitimate pattern, and record a reason code for every decline. Customers and regulators increasingly expect an explanation, and an analyst needs one during a complaint call.
Compliance
Kenya's Data Protection Act 2019 and Nigeria's Data Protection Act 2019 set the baseline for lawful basis, minimisation, retention and access. Cross-border transfer rules matter if your model vendor processes data outside the country. Tokenise where possible, restrict access to case data, and test for disparate impact across customer segments.
Timeline
Eight to twelve weeks is realistic for a first production model with one data source, a rules layer and a working case queue. It takes longer if the labels are poor, the feature definitions live in three places, or the payment team cannot give you a latency budget. Three-week claims usually describe a prototype, not a system.
Failure modes
- Label leakage: a field that only exists after a chargeback is used as a training feature.
- Training on post-hoc data that is unavailable at scoring time.
- Alert volume nobody can work, so the queue is ignored.
- No feedback loop from case outcomes back into training.
- Blocking legitimate customers during salary week or a promo.
- No drift monitoring after a product or channel launch.
Questions we get asked
Can machine learning replace our rules?
No. Rules handle known patterns and give you control. Models add coverage. The combination is what works.
How much fraud data do we need?
Enough confirmed outcomes to learn from, not just raw transactions. If you have few confirmed cases, start with rules and use the model for ranking and triage rather than automatic blocking.
Will this slow down payments?
It can be built within a normal authorisation budget, but that is an engineering constraint to agree early. A score that arrives after the money has moved is only useful for investigation.
How do we handle false positives?
Step-up authentication instead of an outright block, a fast analyst override, and a weekly review that feeds corrections back into the rules and the training set.
Start with the decision you need to make, the alert volume you can handle and the labels you can trust. Those three constraints define the model, not the other way round.