Setup
Stay organized with collections
Save and categorize content based on your preferences.
The Google Pay API facilitates fast and easy online purchases. With the API set up, shoppers
don't have to manually enter their payment information on your site. Instead, their payment
information, such as their name, email, billing and shipping addresses, are already
pre-entered in a payments selection dialog that's displayed to the shopper. When the shopper
selects their payment type, the API returns the payment information through a supported payments
gateway, or it's directly processed on your encrypted secure server.
When you integrate with the Google Pay API, you offer a one-touch checkout experience to hundreds
of millions of Google users who have their credit or debit card payment information saved in
their Google accounts.
Before you begin
Before you begin to implement the API, make sure you've met the following
prerequisites:
When you're ready to go live, refer to Publish your integration for important information.
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 2025-02-10 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 2025-02-10 UTC."],[[["\u003cp\u003eThe Google Pay API enables a quick and seamless online checkout experience by allowing customers to use pre-filled payment information from their Google accounts.\u003c/p\u003e\n"],["\u003cp\u003eIntegrating the Google Pay API gives you access to a vast user base of millions who already have payment methods stored with Google.\u003c/p\u003e\n"],["\u003cp\u003eBefore implementing the API, ensure your website uses HTTPS, is accessed through a supported browser, and that you have a Google account with an added payment method, while also adhering to the Google Pay API Acceptable Use Policy.\u003c/p\u003e\n"]]],["The Google Pay API allows users to make online purchases without manually entering payment details. It displays a pre-filled payment dialog with information like name, email, and addresses, which is then processed through a payment gateway or directly on the secure server. Integration offers one-touch checkout to Google users with saved payment methods. To implement, you need an HTTPS site, a supported browser, a Google Pay payment method, and adherence to the API's policy. Publishing requires checking additional information.\n"],null,["The Google Pay API facilitates fast and easy online purchases. With the API set up, shoppers\ndon't have to manually enter their payment information on your site. Instead, their payment\ninformation, such as their name, email, billing and shipping addresses, are already\npre-entered in a payments selection dialog that's displayed to the shopper. When the shopper\nselects their payment type, the API returns the payment information through a supported payments\ngateway, or it's directly processed on your encrypted secure server.\n\nWhen you integrate with the Google Pay API, you offer a one-touch checkout experience to hundreds\nof millions of Google users who have their credit or debit card payment information saved in\ntheir Google accounts.\n\nBefore you begin\n\nBefore you begin to implement the API, make sure you've met the following\nprerequisites:\n\n- Serve an HTTPS webpage with a TLS domain-validated certificate.\n- Use one of the following supported web browsers: Google Chrome, Mozilla Firefox, Apple Safari, Microsoft Edge, Opera, or UCWeb UC Browser.\n- [Add a payment method to your Google Account](https://support.google.com/pay/answer/7625139).\n- Adhere to our [Google Pay API Acceptable Use Policy](https://payments.developers.google.com/terms/aup).\n\nWhen you're ready to go live, refer to [Publish your integration](/pay/api/web/guides/test-and-deploy/publish-your-integration) for important information."]]