Not having done this myself, nor do I plan to.
I would say some things you would need are:
A very Good Business Plan, the correct corporate setup, a good amount of funds to run your business.
Know how, experience, then apporach the wholesale funder and see if they will do business with...