---
title: "Passing the token"
method: GET
path: "/bundle/payWithGoogle/{TOKEN}"
tags: ["GPay API"]
---

# Passing the token

`GET /bundle/payWithGoogle/{TOKEN}`

## Request

- Base URL: `https://sandbox.przelewy24.pl`
- URL: `https://sandbox.przelewy24.pl/bundle/payWithGoogle/{TOKEN}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/przelewy24/apis/przelewy24-rest-api-documentation/docs/bundle/payWithGoogle/:TOKEN/get.ts> (a function with typed inputs; its response is checked against the schema)

After receiving the token from Przelewy24, run the JavaScript on the page.

After the transaction is completed, the appropriate callback function (`callback`) is invoked.

For a transaction requiring additional 3-D Secure authentication, the customer is redirected and then returns to the address provided during transaction registration in the <a href="#tag/Transaction-service-API/operation/registerTransaction"><b>"urlReturn"</b></a> parameter.

## Path parameters

- `TOKEN` string, required

## Changes

- **2026-09-03** `5861a691aa36`: 1 breaking, 1 info
  - the `path` request parameter `TOKEN` became required
  - api operation id `getGooglePayBundle` was added
- **2024-09-18** `e9d9982466d8`: 1 info
  - the endpoint scheme security `basicAuth` was removed from the API

[Operation history](https://skmtc.dev/przelewy24/apis/przelewy24-rest-api-documentation/changes/bundle/payWithGoogle/:TOKEN/get.md)

---

[API](https://skmtc.dev/przelewy24/apis/przelewy24-rest-api-documentation.md) - [All operations](https://skmtc.dev/przelewy24/apis/przelewy24-rest-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/przelewy24/apis/przelewy24-rest-api-documentation/revisions/5861a691aa36?raw)
