Google Pay and Apple Pay

How do I use Google Pay and Apple Pay within my app? Has anyone done?