---
title: "Process a Google Pay transaction."
method: POST
path: "/gateway/remote.json"
---

# Process a Google Pay transaction.

`POST /gateway/remote.json`

## Request body

- union
  - object — Use this
    - `store` integer, required — Your store ID.
    - `authkey` string, required — Your authentication key.
    - `tran` object, required — Transaction details.
      - `id` string, required — Cart ID / Order ID. Your reference for the transaction.
      - `class` 'ecom' | 'moto' | 'cont', required
      - `type` 'sale' | 'auth', required
      - `description` string, required — Purchase description.
      - `amount` number, float, required — Transaction amount.
      - `test` integer — Test mode indicator: 0 = Live, 1 = Test.
      - `currency` string, required — Transaction currency ISO code.
      - `method` 'googlepay', required
    - `customer` object — Customer specific details. This object is optional if you have requested the details from google and available in the googlePayToken
      - `name` object, required
        - `forenames` string, required — The customer's forename plus any other middle names or initials they may have.
        - `surname` string, required — Customer's surname/family name.
      - `email` string, required — Customer's Email address.
      - `address` object, required
        - `line1` string, required — Customer's address.
        - `country` string, required — Customer's country.
        - `city` string, required — Customer's city.
      - `phone` string
    - `googlepay` GooglePayToken — PaymentMethodData received from Google Pay https://developers.google.com/pay/api/web/reference/response-objects#PaymentMethodData
      - `type` string, required — Payment method type.
      - `description` string, required — User-facing description of the payment method.
      - `info` object, required — Details about the selected payment method.
      - `tokenizationData` object, required — The payment tokenization data.
        - `type` string, required
        - `token` string, required — The actual JSON stringified token used for decryption.
  - object
    - `store` integer, required — Your store ID.
    - `authkey` string, required — Your authentication key.
    - `tran` object, required — Transaction details.
      - `id` string, required — Cart ID / Order ID. Your reference for the transaction.
      - `class` 'ecom' | 'moto' | 'cont', required
      - `type` 'sale' | 'auth', required
      - `description` string, required — Purchase description.
      - `amount` number, float, required — Transaction amount.
      - `test` integer — Test mode indicator: 0 = Live, 1 = Test.
      - `currency` string, required — Transaction currency ISO code.
      - `method` 'googlepay', required
    - `customer` object — Customer specific details. This object is optional if you have requested the details from google and available in the googlePayToken
      - `name` object, required
        - `forenames` string, required — The customer's forename plus any other middle names or initials they may have.
        - `surname` string, required — Customer's surname/family name.
      - `email` string, required — Customer's Email address.
      - `address` object, required
        - `line1` string, required — Customer's address.
        - `country` string, required — Customer's country.
        - `city` string, required — Customer's city.
      - `phone` string
    - `networkToken` NetworkToken — Decrypted token obtained from the encrypted token received via Google Pay.
      - `card` object, required
        - `brand` string, required — Card brand (e.g., Visa, Mastercard).
        - `number` string, required — 'tokenPAN' from Google Pay Network Token.
        - `expiry` object, required
          - `month` string, required — Expiry month from Google Pay Network Token.
          - `year` string, required — Expiry year from Google Pay Network Token.
      - `eci` integer, required — 'eciIndicator' from Google Pay Network Token.
      - `cryptogram` string, required — 'onlinePaymentCryptogram' from Google Pay Network Token.

## Response `200`

Response

- union
  - SuccessResponse — Received when Google Pay transaction is processed.
    - `trace` string
    - `transaction` object
      - `ref` string
      - `type` string
      - `class` string
      - `status` string
      - `code` string
      - `message` string
    - `customer` object
      - `email` string
      - `name` object
        - `forenames` string
        - `surname` string
      - `address` object
        - `line1` string
        - `city` string
        - `country` string
  - ErrorResponse
    - `code` integer — Error code
    - `status` string — Request status
    - `reason` string — Error reason
    - `errors` string[]

---

[API](https://skmtc.net/telr/apis/remote-json-api-1-0.md) · [All operations](https://skmtc.net/telr/apis/remote-json-api-1-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/telr/remote-json-api-1-0/versions/7a1969c709ba/schema)
