public List < Map < String , Object > > listBankAccounts ( String moipAccountId , Setup setup ) { this . requestMaker = new RequestMaker ( setup ) ; RequestProperties props = new RequestPropertiesBuilder ( ) . method ( "GET" ) . endpoint ( String . format ( "%s/%s/bankaccounts" , ENDPOINT , moipAccountId ) ) . type ( BankAccounts . class ) . contentType ( CONTENT_TYPE ) . build ( ) ; return this . requestMaker . getList ( props ) ; }
This method allows you to list all bank account of a Moip account .