EY Interview Question

Design end to end api