Wise interview question

Implement a currency exchange service.