Stripe Interview Question

Design an API to support transactions