Wholesaling is just a form of brokering, and the wholesaler would not normally actually buy the property. You assign the contract, do a double close, or buy in an entity and then sell the entity. So, you would not normally need to have funding to actually buy the property.
You may need "transactional funding" to allow you to buy the property and then immediately sell the property and repay the transactional funder. Immediately as in both transactions occur the same day, or, a few days apart. Typically, the transactional lender requires you have the buyer lined up and ready to go before they will make the loan.
With private money (i.e., someone you personally know, friends and family), you can negotiate anything you want.
If you were to actually buy the property and couldn't resell it, then you would have to keep it.
If a property is worth $65K, fixed up, then you're going to need to buy for quite a bit less than $50K. The usual rule of thumb for a fix and flipper is 70% of ARV. That's $45,500 for a $65K ARV. Then you subtract fixup (that's never $0), your fee, and all the costs of the transaction. I would assume you want to make at least a few grand for your efforts. If the place needs $5K (paint, carpets, and a few small repairs), you want $3K and you have another $2K in costs, you can pay no more than about $35K.