Pleo interview question

Build some sort of bank service that allows depositing money in, withdrawing and transferring to other accounts with some endpoints to return top spenders and tie criteria.