How do add in game purchases to a PC game?

I would like to upload my game to steam, and would like to have in app purchases for currency, DLC, etc.
Is there any way to implement this, either through a purchase inside the game, or an external Steam purchase adding the purchased content to the game.