Design a Real-Time Card Authorization Service With Cells
Last updated: November 29, 2026
Quick Overview
Design the service that receives authorization requests from merchant acquirers and partner issuers, decides approve or decline within a strict latency budget, and keeps working through regional or component failures. Cover routing, the decision pipeline, data stores and how the service degrades.
American Express
November 29, 20260
0
0 solved
Design the service that receives authorization requests from merchant acquirers and partner issuers, decides approve or decline within a strict latency budget, and keeps working through regional or component failures. Cover routing, the decision pipeline, data stores and how the service degrades.
American Express runs a closed-loop network and has written publicly about modernizing its payments platform into microservices and a cell-based architecture for resilience. A senior design round in this style checks whether you can hit tight latency at high throughput while containing failures and never double charging.
What the Interviewer Expects
- Separates a connection gateway from stateless decision services
- Budgets latency across fraud, credit and balance checks
- Explains cell partitioning and blast-radius containment
- Defines stand-in processing when downstream systems fail
- Uses idempotency so retries never create duplicate holds
- Plans zero-downtime migrations and shadow traffic
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 migrate traffic from a legacy platform to this design without downtime?
- What happens to open-to-buy balances if a cell is lost mid-transaction?
- How do you test a new fraud rule without risking live declines?
- How would you shard card accounts across cells and rebalance 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: accept ISO 8583 style authorization requests, return approve, decline or referral, place a hold on the card's available credit, and emit events for clearing, fraud and notifications. Non-f...
High-Level Design
- Gateway layer: holds long-lived TCP connections with acquirers and issuers, parses messages, attaches a unique network transaction id, and routes to a cell by card account hash.
- Cells: sel...