BFSI

Real-Time Fraud Detection at Card-Swipe Speed

Real-time machine learning fraud scoring with human-in-the-loop review tooling for a retail bank.

18 weeks7 — 2 ML engineers, 3 engineers, 1 designer, 1 delivery lead
Real-time fraud detection dashboard showing transaction risk scores and a linked-account graph
0%
Reduction in fraud losses
0%
Fewer false positives
0ms
Median decision latency
The Challenge

Where things stood

Harbor Bank issues cards to roughly two million retail customers and processes tens of millions of transactions a month.

Fraud controls ran on a hand-maintained rules engine that analysts patched after each new attack pattern appeared.

  • Rules were reactive — new patterns were caught only after losses
  • False positives blocked legitimate customers at the till
  • Analysts worked from spreadsheets exported nightly
  • No feature reuse between offline analysis and live scoring
Losses were compounding 22% year on year while false declines eroded customer trust and drove call-centre volume.
Objectives

What we set out to achieve

  • Score every transaction in under 100ms
  • Materially reduce fraud losses without raising false declines
  • Give analysts a review queue with case context
  • Make model features consistent between training and serving
  • Ship model updates without redeploying the payment path
Our Approach

How we ran the engagement

01

Discovery

Workshops with operators and stakeholders to map real workflows, data sources, and the constraints nobody documents.

02

Architecture

Target-state system design, integration contracts, and a migration path that avoids a big-bang cutover.

03

Product Design

Interface flows validated with the people who use the system daily, not only the people who buy it.

04

Development

Two-week increments with a working build at the end of each, reviewed against the agreed success metrics.

05

Testing

Automated regression, load testing, and a security review before anything touches production data.

06

Deployment

Phased rollout with monitoring, alerting, and rollback paths in place from the first cohort.

07

Optimization

Post-launch telemetry drives a continuous improvement backlog tied to business outcomes.

The Solution

What we built

Streaming Scoring Pipeline

Transactions flow through an event stream into a scoring service backed by a shared feature store, so the values used in training are exactly the values used at decision time.

  • Sub-100ms budget enforced end to end
  • Shared offline/online feature definitions
  • Shadow mode before any live enforcement

Analyst Review Console

A purpose-built console shows each flagged case with the signals that triggered it, related accounts, and one-click actions — replacing nightly spreadsheet exports.

  • Case context and linked-account graph
  • Decision capture that feeds retraining
  • Full audit trail per action

Model Lifecycle Automation

Retraining, evaluation, and promotion run as an automated pipeline with challenger models compared against the incumbent before any traffic shift.

Fraud analyst review queue with risk scores and case status indicators
Analyst review console
Streaming architecture diagram for real-time transaction scoring
Scoring pipeline architecture
Technology

Architecture at a glance

Frontend
ReactTypeScriptGraphQL client
Backend
Python servicesGraphQL API
Database
PostgreSQLFeature store
AI
Gradient-boosted scoring modelsChallenger evaluationDrift monitoring
Cloud
AWSKafka event streaming
Integrations
Card authorisation switchCore banking systemCase management
Impact

Before and after

Before

  • Hand-maintained rules engine
  • Nightly spreadsheet exports
  • Reactive pattern coverage
  • High false-decline rate

After

  • Real-time ML scoring
  • Live analyst console
  • Automated retraining loop
  • Sharply lower false declines
Business Value

What it meant commercially

Cost savings

Lower write-offs and fewer manual investigations per thousand transactions.

Customer satisfaction

Fewer legitimate cards declined at point of sale, reducing call-centre contacts.

Risk reduction

Auditable decisions and monitored model drift replaced undocumented rule changes.

Services Involved

Capabilities behind this work

FAQ

Common questions

What problem did VisionGuru Labs solve?

A reactive, rules-based fraud system that could not keep pace with new attack patterns.

How long did the project take?

18 weeks, including a shadow-mode period before the model influenced live decisions.

What technologies were used?

Python scoring services, Kafka streaming, a shared feature store, GraphQL, React, PostgreSQL, and AWS.

Can a similar solution be built for another financial institution?

Yes — the pipeline is model-agnostic and adapts to different authorisation switches and core banking systems.

Ready to build the future?

Let's discuss how technology can accelerate your business.