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:
Apply for production access
Before your Google Pay API implementation is production-ready, you must register with Google, accept our Terms of Service, and receive a Google merchant ID after your website passes a Google review. For more information, see the Integration checklist.
Before you apply for production access, you need the following:
- A Google Account
- A supported payments gateway or a Payment Card Industry Data Security Standard (PCI DSS) compliant server environment that's suitable to store decrypted payment information
- A list of fully qualified domains, which includes subdomains, from which you intend to call the Google Pay API
After your website is approved, you receive a Google merchant ID that must be included with each Google Pay API request.