Design a Scheduler for Millions of Card Autopay Payments on Due Dates
Last updated: November 29, 2026
Quick Overview
Design the system that executes scheduled card autopay payments for millions of Capital One cardholders on their due dates, pulling funds from external bank accounts by ACH, exactly once, and handling returns and changes to the schedule.
Capital One
November 29, 20260
0
0 solved
Design the system that executes scheduled card autopay payments for millions of Capital One cardholders on their due dates, pulling funds from external bank accounts by ACH, exactly once, and handling returns and changes to the schedule.
Scheduled money movement is a core banking job: it has hard deadlines, regulatory rules, and serious consequences for duplicates or misses. The interviewer checks job scheduling at scale, idempotent execution, cutoff handling and return processing.
What the Interviewer Expects
- Model schedules and materialize daily payment instances
- Execute exactly once using idempotency keys and state machines
- Respect ACH cutoff times and business day calendars
- Handle returns, cancellations and amount changes
- Monitor and reconcile against bank files
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- What happens if the scheduler crashes halfway through a batch?
- How do you handle a due date on a weekend or holiday?
- How does a customer cancel a payment after it was submitted?
- How would you process an ACH return two days later?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Functional: customers choose autopay type (minimum, statement balance, fixed amount) and funding account; the system pays on or before the due date; changes allowed until a cutoff; returns (insufficie...
High-Level Design
Schedule store: autopay settings per account. A daily planner job generates payment instances for the target date (accounting for weekends and holidays using a bank calendar), computing the amount fro...