Stripe interview question

Design an API for tracking events in different clients