Software Engineering Architecture Lab

Payments Platform: System Design Case Study

A Stripe-like payment API: idempotency, ledgers, retries, consistency and failure handling. Covers idempotency, double-entry ledger and retries.

A Stripe-like payment API: idempotency, ledgers, retries, consistency and failure handling.

Topics

  • idempotency
  • double-entry ledger
  • retries
  • webhooks
  • consistency

Related

Other case studies

  • Global Marketplace — An Amazon-like e-commerce platform: orders, inventory, payments and distributed transactions.
  • Ride-Sharing Platform — An Uber-like dispatch system: live location, real-time matching, geo-partitioning and event streams.
  • Video Streaming Platform — A Netflix-like streaming service: CDN, caching, microservices, resilience and personalisation at scale.
  • SaaS Subscription Billing — A subscription platform: DDD, bounded contexts, billing, invoices, domain events and service extraction.