Money is acquired by Selling Equipment ( Selling Pets does not provide Money ), you can also Auto-Sell equipment by filtering it out of your loot list in the Options Panel, and you also gain money from killing Enemies.

When killing Enemies, these elements are factored into calculating the amount of money you will gain: