Stay organized with collections
Save and categorize content based on your preferences.
Figure 1. Android payment flow
The Google Pay API enables fast checkout within your app, and gives you convenient access
to hundreds of millions of cards saved to Google Accounts worldwide.
How it works
When a user taps the Google Pay payment button, they see a payment sheet that displays the
payment methods saved to their Google Account, as well as optional fields such as a shipping
address field. Users can quickly select a payment method, add an optional shipping address, or
add new information.
The payment flow is as follows:
The user taps the Google Pay payment button and sees a payment sheet with a list of supported
payment methods.
The user selects a payment method and Google Pay securely returns a payment token for that
method to your app.
Your app submits the payment token, along with details about the purchase, to its backend.
To execute the payment, the backend processes the purchase and sends the payment token to the
payment service provider.
Get started
Perform the following steps to get started with the Google Pay API:
Complete a vanilla Android integration using the
tutorial in the documentation, or check out the libraries to add Google Pay to your
Flutter or
React Native application.
[[["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-02-24 UTC."],[[["The Google Pay API allows for quick and easy checkout within your Android app, providing access to millions of cards saved to Google Accounts globally."],["The Google Pay payment flow involves the user selecting a payment method, your app receiving a payment token, and your backend processing the purchase with the payment provider."],["To get started, review the Google Pay API terms, find your payment processor in the supported list, follow the brand guidelines, and complete the Android integration using the provided resources or libraries for Flutter and React Native."],["Before launching, ensure your integration is production-ready by reviewing the checklist and requesting production access through the Google Pay & Wallet Console."]]],["Users initiate payment by tapping the Google Pay button, revealing a payment sheet with saved methods. They select a method, and Google Pay securely returns a payment token to the app. The app then sends this token and purchase details to its backend. The backend processes the purchase and forwards the token to the payment service provider to complete the transaction. To get started with the API, you should review the Google Pay terms of services and acceptable use policy, check the supported payment processors, adhere to brand guidelines and complete an integration using the documentation.\n"]]