Design Real-Time Purchase Alerts for Capital One Card Transactions

Last updated: November 29, 2026

Quick Overview

Design a system that sends a push notification, text or email within seconds of every card purchase for customers who opt in, including spend thresholds and merchant category rules they set themselves.

Capital One
System Design
Software Engineer
Capital One
November 29, 2026
Software Engineer
System Design Round
System Design
Medium

0

0

0 solved


Design a system that sends a push notification, text or email within seconds of every card purchase for customers who opt in, including spend thresholds and merchant category rules they set themselves.

Capital One's app is known for instant transaction notifications, and this is a common notifications design question for software engineers there. The interviewer checks event-driven design, rule evaluation at scale, and delivery reliability without duplicates.

What the Interviewer Expects
  • Consume authorization events from a durable stream
  • Evaluate user-defined rules efficiently
  • Fan out to channels with per-channel providers
  • Avoid duplicate alerts with idempotency keys
  • Handle preferences, quiet hours and provider failures
Key Topics to Cover
notifications
event streaming
rule engines
idempotency
delivery guarantees
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How do you prevent sending two alerts when the event is retried?
  • How would you support a new rule type without redeploying?
  • What if the SMS provider is down for 20 minutes?
  • How would you measure end-to-end latency?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: alert on authorizations matching rules (all purchases, over $X, international, card not present, specific categories), channels push, SMS, email; preferences per customer; also fraud aler...

High-Level Design

Authorization service publishes events to a stream partitioned by account ID. Alert rule service consumes events, loads the customer's rules from a cache (backed by a preferences database), evaluates ...


Submit Your Answer
Markdown supported