Payment Gateway System Design — How does the Stripe work?

Think Software
13 min readFeb 19, 2022

We recently introduced a new chapter on our course “Distributed System Design Interviews Bible” discussing the system design of a payment gateway service such as Stripe.

When we published the chapter on the Stripe System Design, we received complimentary emails from our students praising the details in the chapter. E.g. check the email that we received.

In that chapter we covered three different aspects of a payment gateway service as follows:

  • Storing customers’ payment information (e.g., credit card, or other similar payment information)
  • The payment processing to charge a customer
  • For a generic payment gateway service, how the money is transferred from a customer to a merchant in a secure and reliable manner

Payment System Examples