Design a Payment System
Authorization succeeded but settlement failed — and support could not explain why the merchant never got paid. Here's how I'd design a card payment system: two-phase flow, wallet vs ledger, and the reliability patterns that matter.