[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eTo use the Google Pay API, your Android app must be distributed through the Google Play Store and built with a \u003ccode\u003eminSdkVersion\u003c/code\u003e of 21 or higher and a \u003ccode\u003ecompileSdkVersion\u003c/code\u003e of 34 or higher.\u003c/p\u003e\n"],["\u003cp\u003eBefore integrating, ensure you have the Google Wallet app installed, add a payment method, and comply with the Google Pay API Acceptable Use Policy and Google Play Developer Policy.\u003c/p\u003e\n"],["\u003cp\u003eImplement payments using Google Play In-app Billing if Google processes payments for you or if you sell digital goods.\u003c/p\u003e\n"],["\u003cp\u003eIntegrate the Google Pay API by adding the necessary dependency to your app's Gradle build file and enabling it in your \u003ccode\u003eAndroidManifest.xml\u003c/code\u003e file.\u003c/p\u003e\n"],["\u003cp\u003eTo go live, consult the publishing guide for essential information after completing the integration process.\u003c/p\u003e\n"]]],["To utilize the Google Pay API, ensure your app is on the Google Play store and meets `minSdkVersion` 21 and `compileSdkVersion` 34 or higher. Install the Google Wallet app with a payment method. If Google processes payments or you sell digital goods, use Google Play In-app Billing. Add the `com.google.android.gms:play-services-wallet:19.4.0` dependency to your module's Gradle file. In your `AndroidManifest.xml`, enable the API with the `meta-data` element: `com.google.android.gms.wallet.api.enabled` with a value of `true`.\n"],null,["Before you begin\n\nTo prepare your app, complete the steps in the following sections.\n\nApp prerequisites\n\nTo use the Google Pay API on Android, your app must be:\n\n- Distributed through the Google Play store.\n- Built using the following configuration:\n - A `minSdkVersion` of `21` or higher\n - A `compileSdkVersion` of `34` or higher\n\nSet up your app and your Google Pay account\n\n- [Install the Google Wallet app and add a payment method](https://support.google.com/pay/answer/6289372).\n- Adhere to our [Google Pay API Acceptable Use Policy](https://payments.developers.google.com/terms/aup) and the [Google Play developer policy](https://play.google.com/about/monetization-ads/payments/).\n\n| If either of the following criteria apply to you, use [Google Play In-app Billing](https://developer.android.com/google/play/billing/index.html)\n| to implement a payment button in your app:\n|\n| - Google processes payments for you.\n| - You sell digital goods, such as movies or games.\n\nConfigure your app\n\nTo configure your app, complete the steps in the following sections.\n\nApp dependencies\n\nAdd the [Google Play services](http://developer.google.com/android)\ndependency for the Google Pay API to your [module's Gradle build file](https://developer.android.com/studio/build#module-level)\n(typically `app/build.gradle` or `app/build.gradle.kts`):\n\nGroovy \n\n```yaml\ndependencies {\n implementation 'com.google.android.gms:play-services-wallet:19.4.0'\n}\n```\n\nKotlin \n\n```yaml\ndependencies {\n implementation(\"com.google.android.gms:play-services-wallet:19.4.0\")\n}\n```\n\nModify your manifest\n\nTo enable Google Pay in your app, you need to add the following Google Pay API\n[`meta-data element`](https://developer.android.com/guide/topics/manifest/meta-data-element)\nto the\n[`\u003capplication\u003e`](https://developer.android.com/guide/topics/manifest/application-element)\nelement of your project's\n[`AndroidManifest.xml`](https://developer.android.com/guide/topics/manifest/manifest-intro)\nfile. \n\n```xml\n \n\u003cmeta-data\n android:name=\"com.google.android.gms.wallet.api.enabled\"\n android:value=\"true\" /\u003e\n \n \n```\n\nWhen you're ready to go live, refer to [Publish your integration](/pay/api/android/guides/test-and-deploy/publish-your-integration) for important information."]]