The Google Pay API facilitates fast and easy online purchases by eliminating the need for shoppers to manually enter their payment information (name, email, billing address, and shipping address) on your site. When the Google Pay API is implemented in a checkout flow, a payments selection dialog is displayed to the shopper and returns payment information ready to be charged through a supported payments gateway or directly processed on your encrypted secure server.
Integrating with the Google Pay API helps you offer one-touch checkout experiences for hundreds of millions of Google users with credit or debit cards saved in their Google account.
Before you get started developing
Before you begin development, make sure you have met the following prerequisites:
- An HTTPS webpage viewed in Chrome for Android version 59 or later on an Android device running Google Play Services version 11.4.x or later
- Install and add a payment method to Google Pay if supported in your country and by your issuing bank
- Add a payment method to your Google account
- Adhere to our Google Pay API Acceptable Use Policy
Applying for production access
Before your implementation of the Google Pay API is production-ready, you must register with Google, accept our terms of service, and receive a Google merchant ID after passing a Google review of your website. See Test and Deploy for more information.
You will need the following:
- A Google account
- A supported payments gateway or a Payment Card Industry Data Security Standard (PCI DSS) compliant server environment suitable for storing decrypted payment information
- A list of fully-qualified domains (including subdomains) from which you intend to call the Google Pay API
After your website is approved, you will receive a Google merchant ID that must be included with each Google Pay API request.