Stripe interview question

Coding round, practical considering it is a payment company