Integrating In-app Payment Method

How to integrate an in-app payment in a mobile app?