if you wanted to detect deposits and do withdrawal, You should just use those who provide APIs instead of creating one for yourself
the price you pay for building the security, the storage, hosting and bandwidth itself is almost in par with the prices and service at those providers
Also firewalls in place is not going to be a little effort and capital demanding but as someone has rightly said there is nothing wrong in dreaming big...