Google Pay is a that enables customers to pay using any credit or debit card saved to their Google Account, including those from Google Play, YouTube, Chrome, or an Android device. Google Pay provides a fast and secure checkout experience for hundreds of millions of users worldwide.
Customers complete payments instantly using saved cards from their Google Account — no manual entry required.
Card details are replaced with secure tokens, protecting sensitive data and reducing fraud risk.
Multiple integration options: Onerway SDK, hosted Checkout, or direct Google Pay API.
Available in 200+ countries with support for all major card networks.
Google Pay online payments are available in over 200 countries and regions worldwide.
| Region | Supported Cards | Notes |
|---|---|---|
| Worldwide | Visa, Mastercard, and more | Card network availability varies by region |
| Field | Type | Description | Required |
|---|---|---|---|
orderAmount | string | Payment amount to be charged | ✅ |
orderCurrency | string | Transaction currency (ISO 4217) | ✅ |
productType | string | Set to CARD | ✅ |
subProductType | string | DIRECT (one-time) or SUBSCRIBE (recurring) | ✅ |
tokenInfo | string | Google Pay token from frontend SDK | ✅ |
billingInformation | string | Billing address information | ✅ |
shippingInformation | string | Shipping address information | ✅ |
{
"provider": "GooglePay",
"tokenId": "<GOOGLE_PAY_TOKEN>"
}
tokenId is the payment token obtained from the Google Pay JavaScript SDK on your frontend. Onerway will decrypt and process the token securely.| Value | Use Case |
|---|---|
DIRECT | One-time payments |
SUBSCRIBE | Recurring / subscription payments |
subProductType to SUBSCRIBE to enable recurring billing with the tokenized card.| Type | API | User Flow |
|---|---|---|
| SDK | SDK Integration | Merchant embeds Onerway SDK → Google Pay button |
| CHECKOUT | Checkout API | Merchant → Onerway Checkout → Google Pay |
| DIRECT | Payment API | Merchant uses Google SDK → Submit token to Onerway |
Before integrating Google Pay, ensure you have:
gatewayName and gatewayMerchantIdThe Google Pay payment flow involves the customer selecting Google Pay, authenticating with their Google account, and confirming the payment:
Google Pay supports two authentication methods that affect the payment flow:
| Method | Description | Flow |
|---|---|---|
| CRYPTOGRAM_3DS | Device token with cryptographic proof | Direct authorization (recommended) |
| PAN_ONLY | Card number only | May require redirect for CVV collection |
CRYPTOGRAM_3DS provides the smoothest user experience. PAN_ONLY transactions may trigger a redirect to collect additional card verification.Google Pay transactions follow the standard card dispute process. The liability shift depends on how the card was added:
| Token Type | Source | Liability Shift |
|---|---|---|
| DPAN | Google Pay app on mobile | ✅ Supported |
| FPAN | Chrome, YouTube, Google Play | ✅ With 3D Secure |
| E-commerce Token | Website/app checkout | — Not supported |
You can partially or fully refund any successful Google Pay payment. The refund process is the same as card payments — see Refund APIPayments API for details.