Design a payment system
Hard · Whiteboard
Design the payment backend for an online store that charges cards through a payment provider (like Stripe or Adyen). It must never charge twice, never lose a payment, and its records must match the provider's. Draw the flow and the data model.
Create a free account to answer it and get scored on what a strong answer covers.