Stripe interview question

Real life simulation coding problem