Revolut interview question

Design api service using TDD aproach