Develop a secure and reliable online payment system similar to PayPal, enabling users to send and receive payments electronically. Design interfaces for account management, fund transfers, and payment processing. Implement features like fraud detection, buyer and seller protection, and multi-currency support to ensure secure and seamless transactions for users worldwide.
Suggested time: 45 minutes
Loading the workspace...
Before writing a single component, understand what makes this problem different from a digital wallet. A wallet asks "how does Alice's $50 reach Bob safely?" An online payment service asks "how does Stripe decide which processor handles a payment, settle funds to 100,000 merchants nightly, and guarantee consistency at 10,000 TPS?" You are designing the platform layer. The system that orchestrates payments across thousands of merchants, multiple processors, and multiple currencies.
Merchant onboarding and API keys
Payment processing (auth/capture/settle)
Multi-processor routing
Settlement and payouts
Webhook notifications
Refund and chargeback management
The building blocks this design relies on, each explained in its own lesson.
Design an ATM Machine System (medium)
Design a Digital Wallet (medium)
Design Shopify (medium)
Design a Task Scheduler (medium)
Company guides that list this problem among their sample questions.