Stripe Interview Question

How to recreate a series of API requests involving unique IDs