Overview
Stay organized with collections
Save and categorize content based on your preferences.
Google Pay can be setup as an in-app payment option using the UPI intent mechanism.
This mechanism allows Google Pay to participate as an app when the merchant app triggers
an in-app intent.
Prerequisites
- Business channels must accept UPI and be verified merchants by NPCI/banks.
- Ensure that you have the details required to accept payments using UPI ID with your bank.
- Ensure that you have all of the required APIs from your bank to check the status of a payment.
- Note that every transaction should use a unique transaction ID.
Android 11 requirements
Merchants targeting API level 30+ and running on Android 11 will only be able to
see a few apps. For more details, see here.
Merchants have to make changes to their manifest files in order to access a set
of other installed apps on the device that they intend to access.
For more details, see here.
To include Google Pay app, include the package name in <package>
elements
inside the <queries>
element.
<manifest package="com.example.merchantapp">
<queries>
<package android:name="com.google.android.apps.nbu.paisa.user" />
</queries>
</manifest>
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-16 UTC.
[[["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 2024-10-16 UTC."],[[["Google Pay can be integrated into apps as a payment method using the UPI intent mechanism, enabling seamless in-app payments."],["Businesses must be verified UPI merchants and possess necessary details for accepting UPI payments to utilize Google Pay integration."],["Merchants targeting Android 11 (API level 30+) need to declare Google Pay's package name in their manifest file for visibility and proper functionality."]]],[]]