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
System Design
Software Engineer
American Express
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

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
Cell-based architecture
Latency budgets
Stand-in processing
Idempotency
Zero-downtime migration
Observability
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 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 Problems
Sample 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...

Submit Your Answer
Markdown supported

Related Questions