Samples

You can use the following collection of code samples to integrate the Google Pay API. For more information about the integration, see step-by-step tutorial.

Title Description Links
Basic integration A basic integration of the Google Pay API on Android. Kotlin
Pay from a notification A sample application that triggers Google Pay from a notification. Kotlin
Jetpack Compose An integration with the Jetpack Compose UI element of the Google Pay button. Kotlin
End-to-end UI testing An application that uses UI testing libraries to test Google Pay. Kotlin
Kotlin coroutines An integration of the Google Pay API that uses coroutines to make asynchronous calls. Kotlin