Wealth42 interview question

Creating an API for backend.