Cloud Payments Documentation

Welcome to the Cloud Payments developer hub. You'll find comprehensive guides and documentation to help you start working with Cloud Payments as quickly as possible.

Get Started    API Reference

Web Integration

Instructions detailing how to integrate Google Pay™ into your Website using Cloud Payments as your gateway

Pre-requisites

  1. Read the Google Pay Web Brand Guidelines
  2. Follow Google Pay's Deploy production environment guidelines. In this step you will obtain a merchantID. By integrating Google Pay, you agree to Google's terms of service.
  3. Contact the Cloud Payments support team to have Google Pay enabled on your account. You will be supplied a gatewayMerchantID.

Implementation Steps

Follow the instructions in the following Google guides to implement a Google Pay button in your app:

When setting up the tokenizationSpecification object, specify the following values for the gateway and gatewayMerchantId values:

const tokenizationSpecification = {
  type: 'PAYMENT_GATEWAY',
  parameters: {
    'gateway': 'fatzebra',
    'gatewayMerchantId': '<provided by Fat Zebra>'
  }
};

The Google Pay button will generate an encrypted token that you must then include in a request to the Cloud Payments API to:

  • Create a purchase using the card in the Google Pay payload
  • Or tokenize the card details in the Google Pay payload

The following documentation outlines the format of the two API calls:

Web Integration


Instructions detailing how to integrate Google Pay™ into your Website using Cloud Payments as your gateway

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.