the same way any business obtains funds, by providing services at a quality and price that people will pay for.
So lets say that you want to pay for the service of the military but I do not. Will they only protect your house from foreign invasion?
There are a certain most basic level of services that the government has to provide for (in my opinion) and a pay if you want to is not realistic.
Justice for example, if you make it a pay to play system then inevitably lead to no justice for a fair portion of our population.
Many of the basic important functions of government are not things that people will voluntarily pay for, taxation is necessary at at least some level.
Do you think people should have to pay money if they want to vote? (elections cost money) Your pay for the services you want system will mean those who cannot afford to vote will get no voice.
No ambulance ride unless you can prove you can pay for it (good luck if unconscious)
No justice unless you buy police insurance
The poor will suffer much more since they won't be able to afford the basic services
You also have to buy court insurance just in case you have to protect your rights listed in the bill of rights, so basically if you are poor, you have no freedom of speech.
What you are hinting at seems like anarchy where everything is controlled but he rich.