Skip to main content

Google Pay™

General information

Google Pay™ is a digital wallet from Google that enables customers to make payments with just a few clicks, using payment cards linked to their Google accounts on websites and Android mobile applications, without the need to enter full payment details every time.

To integrate Google Pay™, you can choose one of the following methods:

  • Financial Line hosted integration, where the Google Pay™ button is placed on our payment page.
  • Integration with the Google Pay™ API, which involves placing a Google Pay™ button on your site.

Please keep in mind that currently, this payment method supports the use of Visa, Mastercard.

The list of countries and currencies which we support for Google Pay™ wallet.

Before starting the integration:

  1. Register in the merchant portal.
  2. Read the Google Pay™ and Wallet APIs Acceptable Use Policy, Google Pay™ API Terms of Service and Google Pay/Google Payments Terms of Service.
  3. Ensure that your website complies with Google Pay™ branding requirements.

Financial Line hosted integration

If you opt for the hosted integration, the Google Pay™ payment method will be placed on our payment page alongside the option to pay with cards. To set up this integration, proceed with the regular hosted integration process and inform Financial Line Support that you wish to add the payment method.

Integration with Google Pay™ API

To integrate Google Pay™ into your website or mobile application, you will need to follow these steps:

  1. Ensure that your website uses HTTPS and supports TLS for secure communication.
  2. Use one of the supported browsers, such as Google Chrome, Mozilla Firefox, Apple Safari, Microsoft Edge, Opera, or UCWeb UC Browser.
  3. Obtain your Merchant ID and follow the integration procedure provided by Google Pay™.

Check out the documentation related to the integration process, which includes the following:

Set the gateway parameter in the script to the constant value of finline.

Ensure that the value of the gatewayMerchantId parameter corresponds to the identifier of your project (pos_id) for payment processing.

In response, Google will return the PaymentData item, and the paymentMethodData.tokenizationData.token field should contain a safely encrypted Google Pay™ Token (a string of characters).


To charge the payment card stored under Google Pay™, in the direct method request fill in payway and cc_token with the following values:

  • payway: gpay
  • mode: direct
  • cc_token: gpay:{base64_google_encrypted_token}

You can configure rules for customer confirmation of Google Pay™ payments in the payment creation request by providing the relevant value for order_3ds_bypass. More details about order_3ds_bypass.

Please note!

The acquiring bank may additionally request confirmation for payments using Google Pay. In this case, the payer will need to confirm the payment using 3DS or OTP code on the card issuer's page to complete the transaction

Request example:

$ curl -i "" \
-H "Content-Type: application/json" \
-X POST -d '{
"pos_id": "{POS_ID}",
"mode": "direct",
"method": "purchase",
"amount": 1,
"currency": "UAH",
"order_3ds_bypass": "supported",
"customer_email": "",
"description": "Pay with Google Pay™ Token",
"order_id": "1234567890",
"server_url": "",
"result_url": ""

Further processing of the request follows the standard payment process used in direct integration.


You can use the Google Pay™ payment method in Sandbox mode. To obtain test environment credentials, please contact Financial Line Support.