Checkout.com interview question

Take home task to, essentially, build an API