Stay organized with collections
Save and categorize content based on your preferences.
The Google Pay API enables fast checkout on your website, and gives you convenient access
to hundreds of millions of cards saved to Google Accounts worldwide.
How it works
When a user clicks 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 clicks 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 website.
Your website 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:
[[["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-01-16 UTC."],[[["Google Pay enables quick and easy checkout on websites by leveraging millions of cards saved to Google Accounts globally."],["The Google Pay API securely returns a payment token to your website after a user selects a payment method, streamlining the transaction process."],["Integrating Google Pay involves reviewing terms, selecting a supported processor, adhering to brand guidelines, and completing the provided tutorial and checklist."],["Businesses can access resources such as live demos, sample tokens for testing, and a troubleshooting guide to support their integration process."],["Production access to the Google Pay API is requested through the Google Pay & Wallet Console after successful integration and testing."]]],[]]