SpinTheMic
Pro

Interview practice question

Design a payment system

System Design · Design: Commerce and Media · Intermediate

Design a payment processing system for an e-commerce company that integrates with external payment gateways.

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Payment service with idempotency keys.
  • State machine: created → authorised → captured/failed.
  • Ledger for money movements.
  • Webhooks from gateway + reconciliation.
  • Retries, outbox, audit logs.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics