Grokking the System Design Interview, Volume II
Vote
0% completed
Payment System: Detailed Component Design
Step 6: Detailed Component Design
Now we’ll explore key components in detail.
6.1 API EndPoints
POST /v1/charges– create a chargeGET /v1/charges/{id}– retrieve charge statusPOST /v1/charges/{id}/refund– create a refund (or/v1/refundsseparate)GET /v1/balance– get current merchant balanceGET /v1/transactions?filter...– list transactions (possibly paginated, etc.)- etc. (Also endpoints to save cards, manage customers, etc.)
These all funnel through the gateway to appropriate internal handlers.
.....
.....
.....
Like the course? Get enrolled and start learning!