IAP in Steam Development using Unity

How does IAP work’s or keep monetise of game in steam.
Any links or sources with be helpful

Checkout PlayFab.