Skip to main content

Google Pay™

Google Pay allows customers to pay using cards stored in their Google account. It provides a fast and secure checkout experience on web and mobile. Choose an integration option below to get started — from full Server-to-Server control to Checkout Page and Pay by Link.

NetworksFeaturesIntegrationspayment_type
Visa, Mastercard
  • Server-to-Server
  • Checkout Page
  • Pay by Link
  • Payment Page Redirect
googlepay

Payment workflow​

The following diagram explains the Google Pay payment workflow for the Server-to-Server integration.

Payer (Customer)
Merchant
Google Pay
Google Pay
OneAPI
1. Initiates transaction
2. Displays Google Pay button (merchant frontend)
3. Clicks Google Pay button
Google Pay authentication prompt
Authenticates payment
4. Encrypted payment token
5. Decrypts token and extracts card data
6. Payment API request with decrypted card data (S2S)
7. Payment result (success/declined)
Payment processing occurs asynchronously
8. Webhook notification (payment status update)
9. Update order status
9. Display final confirmation

Scroll horizontally if the diagram is wider than your screen.

  1. 1
    Payer (Customer)Merchant

    1. Initiates transaction

  2. 2
    MerchantPayer (Customer)

    2. Displays Google Pay button (merchant frontend)

  3. 3
    Payer (Customer)Google PayGoogle Pay

    3. Clicks Google Pay button

  4. 4
    Google PayGoogle PayPayer (Customer)

    Google Pay authentication prompt

  5. 5
    Payer (Customer)Google PayGoogle Pay

    Authenticates payment

  6. 6
    Google PayGoogle PayMerchant

    4. Encrypted payment token

  7. 7
    MerchantMerchant

    5. Decrypts token and extracts card data

  8. 8
    MerchantOneAPI

    6. Payment API request with decrypted card data (S2S)

  9. 9
    OneAPIMerchant

    7. Payment result (success/declined)

  10. OneAPI

    Payment processing occurs asynchronously

  11. 10
    OneAPIMerchant

    8. Webhook notification (payment status update)

  12. 11
    MerchantMerchant

    9. Update order status

  13. 12
    MerchantPayer (Customer)

    9. Display final confirmation

Integration options​

Choose how you want to accept Google Pay:

Server-to-Server

Integrate Google Pay on your frontend and send decrypted card data to OneAPI via the Payment API. Requires PCI DSS compliance.
Start integrating

Checkout Page

Create a checkout session and redirect customers to the hosted checkout. Google Pay is rendered for you — no Google Pay API on your side.
Start integrating

Pay by Link

Share a Pay by Link with your customer. When enabled on the channel, they can pay with Google Pay on the checkout.
Start integrating