CASAONE interview question

Design a wallet system ( like Paytm ) ?