REST API quickstart

Run a sample integrated with Google Pay API for Passes

These quick start examples demonstrate the insertion of offers, handling Web Service API requests, and generating links. Samples are available for Java, Python, and PHP.

Each quickstart is an open source project that you can download from GitHub. To download this project:

  1. Visit the GitHub repo.
  2. Either download the zip or clone the repository by running git clone https://github.com/google-pay/passes-rest-samples.
  3. Navigate to either the Java, Python, or PHP directories, and follow the README for your chosen language, for instructions on how to build and run the sample.

Testing

See below for information on testing:

Next steps

Refer to the Guides and API reference sections of this guide for further information on creating a full-fledged Google Pay API for Passes integration.

Send feedback about...

Google Pay for Passes