Design an Online Payment Service
0%
Editorial Solution
System requirements
Functional
Capacity estimation
Traffic
API design
Database design
PostgreSQL. Core Financial Data
High-level design
API Gateway
Request flows
Card Payment Authorization and Capture Flow
Detailed component design
Payment Routing Engine
Trade offs/Tech choices
Auth Rate vs Cost Routing
Failure scenarios/bottlenecks
Processor Outage During Peak Traffic
Future improvements
ML-Powered Dynamic Routing
Table of Contents
Premium content
UnlockPremium content
UnlockPremium content
UnlockPremium content
UnlockPremium content
UnlockPremium content
UnlockPremium content
UnlockPremium content
UnlockPremium content
UnlockPremium content
UnlockTry this problem yourself
Reading a solution is not the same as producing one under interview pressure. Design it on the whiteboard and get scored feedback.
Asked in these interview guides
Company guides that list this problem among their sample questions.
0%
Editorial Solution
System requirements
Functional
Capacity estimation
Traffic
API design
Database design
PostgreSQL. Core Financial Data
High-level design
API Gateway
Request flows
Card Payment Authorization and Capture Flow
Detailed component design
Payment Routing Engine
Trade offs/Tech choices
Auth Rate vs Cost Routing
Failure scenarios/bottlenecks
Processor Outage During Peak Traffic
Future improvements
ML-Powered Dynamic Routing