Revolut interview question

Write something based on abstract requirements