Stripe Interview Question

Look at this API and implement a feature