/rest-samples

Samples for the Google Wallet REST APIs

Primary LanguageC#Apache License 2.0Apache-2.0

Google Wallet Samples

This project contains samples for using the Google Wallet REST APIs in the following languages:

Within each language's directory, you'll find standalone samples for each of the pass types supported by the Google Wallet APIs.

Each sample demonstrates the following:

  • Authenticating using a Google Cloud service account
  • Creating, updating, and patching a pass class
  • Adding messages to a pass class
  • Creating, updating, and patching a pass object
  • Adding messages to a pass object
  • Expiring a pass object
  • Creating a signed JWT and a "Add to Google Wallet" URL
  • Performing batch API calls to improve performance