Low-Level Design: Payment Processor — Idempotency, State Machine, and Retry Handling
7 min read Core Entities PaymentIntent: intent_id (UUID), merchant_id, customer_id, amount (integer cents), currency, status (CREATED, PROCESSING, REQUIRES_ACTION, SUCCEEDED, FAILED, CANCELLED, REFUNDED), payment_method_id, […] Read article
