The Desi Architect
Notes / Design Interview Problems / Design PhonePe / Paytm (Real-Time Fraud Detection Engine for UPI & Wallets)
Track 5 · Design Interview Problems

Design PhonePe / Paytm (Real-Time Fraud Detection Engine for UPI & Wallets)

Rohan transfers ₹50,000 to an unknown VPA at 3:00 AM from a new device in Jharkhand. How an enterprise risk engine evaluates payment fraud in under 50 milliseconds using Redis sliding windows, velocity tracking, and dual-path ML scoring.

Interview problem26 min read
On this page
  1. The 3:00 AM Jamtara electricity bill scam
  2. 🟢 Layer 1: The 50 Millisecond Latency Budget & Dual-Path Architecture
  3. 🟡 Layer 2: Feature Engineering & Redis Sliding Windows
  4. 🔴 Layer 3: Graph Link Analysis, Mule Rings & NPCI Rules
  5. The Decision Matrix
  6. Cross-Questions & Deep Dives