Customized planetary gear motor for use in machines for cash handling