Google Pay™ Documentation

Step 1: Introduction

Before working with the Google Pay™ API, it is essential to review the official documentation. It contains service usage requirements, integration guidelines, and a checklist for verifying the correctness of the connection.

  1. For mobile app developers: Includes information on Google Pay™ API usage rules, Google Pay™ branding, user guides, and an integration checklist.

  2. For website developers: Covers guidelines for applying the Google Pay™ API and its branded elements, user guides, and an integration checklist.

To properly integrate the Google Pay™ API and receive PaymentData in your website or application, ensure the following:

  • Use a web page with the HTTPS protocol and a valid TLS certificate.

  • Configure the following parameters:

    {
      "allowPaymentMethods": "CARD",
      "tokenizationSpecification": { "type": "PAYMENT_GATEWAY" },
      "allowedCardNetworks": ["MASTERCARD", "VISA"],
      "allowedCardAuthMethods": ["PAN_ONLY", "CRYPTOGRAM_3DS"],
      "gateway": "timeproject",
      "gatewayMerchantId": "<your_unique_merchant_id>"
    }
  • The gatewayMerchantId is a unique store identifier assigned when connecting to the Alliance Bank payment gateway.

  • 3DS verification for PAN_ONLY is enabled by default.

Step 2: Integrating Your Website or App with Google Pay™ API and the Alliance Bank Payment Gateway

If the integration is successful, a payment button will appear on your website or app. When clicked, the user will see a pop-up window displaying a list of their Google™ account-linked payment cards.

Example parameters returned by the Google Pay™ API can be found in the Payment Processing Request documentation.

Step 3: Activating Google Pay™ as a Payment Method for Merchants and Users

  • If your online store is already integrated with Alliance Bank, contact your account manager or send a request to [email protected].

  • If integration with Alliance Bank has not yet been completed, also contact the specified email address [email protected].

Step 4: Processing Data from the "token" Parameter

There are two methods for processing the received token:

  1. Decryption on the merchant's side – The data is decrypted before being sent to Alliance Bank.

  2. Decryption on the Alliance Bank side – The data is transmitted in its original form to Alliance Bank.

For decrypting paymentData, Google™ recommends using the Tink library.

Refer to the Tink Library Usage Guide for details.

Step 5: Verify Integration Compliance Using the Checklist

Step 6: Request Access to the Live Version from Google™ Specialists



Last updated