Use APIs to integrate Google Pay

DocsLimited

Last updated: Apr 10th, 8:17pm

Merchants and partners can set up Google Pay on their website and process payments by using the PayPal Orders V2 API. This document includes examples of PayPal Orders V2 API calls – requests, success responses, and error responses.

This document doesn't cover:

PayPal serves as the payment service provider and helps with the payment processing after the decrypted payment payload is shared with PayPal.

Integration options

You can integrate Google Pay using SDK or using APIs only.

The SDK is a customizable approach and requires integration with the Google SDK and PayPal JS SDK. It is supported for all versions of Google Pay. Merchant PCI compliance isn't required.

PayPal handles domain registration, payload decryption, and certificate sharing with Google Pay.

Partner and merchant integration

The procedure to use APIs and integrate Google Pay on your website varies based on whether you are a direct merchant or a partner.

You can use the PayPal Commerce Platform for Partners solution stack and integrate Google Pay as a payment method your merchants can offer their customers. PayPal works with Google to help you set up the integration. You can render the front-end payment experience by using the PayPal JS SDK or you can offer a customized payment experience on the front-end and use this APIs-only integration for payment processing.

The Google Pay integration offers the same features that the Pay with PayPal integration offers, such as:

  • Partner fees.
  • Partner pricing, including interchange++ pricing, for buy rate and sell rate integrations.
  • Delayed disbursement.

Payment types

Through the APIs-only integration of Google Pay, you can set up the following payment flows.

One-time payments

Integrate Google Pay on the Web to accept one time payments from your buyers.

Set up one-time payments

Recurring payments

Integrate Google Pay on the Web to accept recurring or unscheduled payments with buyer consent.