Design a Card Authorization Ledger With Real-Time Available Credit
Last updated: November 29, 2026
Quick Overview
Design the system that approves or declines card authorizations for Capital One credit cards, keeping an accurate available credit balance per account as authorizations, reversals, captures and payments arrive. Authorizations must respond within about 100 milliseconds.
Capital One
November 29, 20260
0
0 solved
Design the system that approves or declines card authorizations for Capital One credit cards, keeping an accurate available credit balance per account as authorizations, reversals, captures and payments arrive. Authorizations must respond within about 100 milliseconds.
Capital One runs its own card processing on the cloud, and system design rounds for senior engineers often focus on correctness under concurrency in money movement. The interviewer is checking double entry thinking, idempotency, latency budgets and how the design behaves when parts fail.
What the Interviewer Expects
- Separate the fast authorization path from posting and settlement
- Keep a consistent per-account available credit with atomic updates
- Make every message idempotent with network-provided identifiers
- Use an append-only ledger as the source of truth with derived balances
- Explain stand-in processing and reconciliation
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
- How do you prevent two simultaneous authorizations from both using the last \$100 of credit?
- What happens when the ledger store is slow or down?
- How do you handle an authorization that never gets captured?
- How would you support a multi-region active-active design?
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: receive authorization requests from the card network, check account status and available credit plus fraud score, approve or decline, place a hold; handle incremental authorizations (hotel...
High-Level Design
Network gateway receives ISO 8583 messages and normalizes them. Authorization service: looks up account state from a low latency store keyed by account ID, calls the fraud scoring service with a stric...