Stripe Interview Question

Real life simulation coding problem