Payment System
Payment System
Pay-in flow through a PSP, double-entry ledger and wallet, idempotency for exactly-once, plus reconciliation against settlement files.
Components (13)
- E-commerce Backend
- API Gateway
- Payment Service
- Idempotency Store
- Risk / Fraud Check
- Payment Executor
- PSP
- Card Schemes
- Retry + Dead Letter Queue
- Wallet
- Ledger
- Payments DB
- Reconciliation
Headline numbers
- Txn TPS (avg)~10/sec
- Txn TPS (peak)~50/sec
- Ledger writes / sec (peak)~100