---
title: "Google Pay (classic)"
url: "https://docs.adyen.com/online-payments/classic-integrations/classic-api-integration/classic-google-pay"
source_url: "https://docs.adyen.com/online-payments/classic-integrations/classic-api-integration/classic-google-pay.md"
canonical: "https://docs.adyen.com/online-payments/classic-integrations/classic-api-integration/classic-google-pay"
last_modified: "2019-08-14T11:29:00+02:00"
language: "en"
---

# Google Pay (classic)

[View source](/online-payments/classic-integrations/classic-api-integration/classic-google-pay.md)

**Adyen is no longer developing the Classic API integration**

This page is for the Classic API (`/authorise`) integration, which we no longer accept new integrations with.

We strongly recommend migrating to the newer [Google Pay](/payment-methods/google-pay) integration. To use this newer integration, you must also [migrate to the Checkout API](/online-payments/upgrade-your-integration/migrate-to-checkout-api).

Google Pay is a payment method that allows shoppers to make purchases using the card stored in their Google account. This provides them with a simpler checkout process in Android apps and on the web.

## Step 1: Integrate the Google Pay SDK

In order to use Google Pay with Adyen, you must submit the following parameters in the request you make to Google API:

```json
'allowedPaymentMethods': ['CARD','TOKENIZED_CARD'],
'paymentMethodTokenizationParameters': {
   'tokenizationType': 'PAYMENT_GATEWAY',
   'parameters':    {
     'gateway': 'adyen'
     'gatewayMerchantId': '<name of your MerchantAccount or CompanyAccount>'
   }
}
```

The `allowedPaymentMethods` parameter can take one of the following values:

* CARD: payment cards.
* TOKENIZED\_CARD: Android device tokens.

For more information, refer to the [Google Pay API](https://developers.google.com/payments/overview) guide and [Google Pay API](https://developers.google.com/pay/api/web/object-reference) reference.

## Step 2: Send the token to Adyen

After your server has received the token, submit an [/authorise](https://docs.adyen.com/api-explorer/#/Payment/authorise) request to Adyen passing the token value.

The following example demonstrates how to submit this API request. The token value must be set to the `googlepay.token` field included into the `additionalData` object.

Submit this request to the [/authorise](https://docs.adyen.com/api-explorer/#/Payment/authorise) endpoint.

```json
{
   "amount":{
      "value":2000,
      "currency":"EUR"
   },
   "reference":"Your Reference Here",
   "merchantAccount":"YOUR_MERCHANT_ACCOUNT",
   "additionalData":{
      "googlepay.token":"==Payload as retrieved from Google Pay response=="
   }
}
```

## Step 3: Go live

Once you completed the steps above and tested your integration, before you can accept live payments, you need to submit a request for Google Pay in your [live Customer Area](https://ca-live.adyen.com/). Your merchant ID must be configured in the Adyen payment method configuration for Google Pay.
