Key concepts and terminology  |  Generic pass  |  Google for Developers (2024)

This document lists common terminology and concepts you should be familiar with when using the Google Wallet API.

Passes

Pass

A pass is an instance of a Passes Object that is issued to a user to save in their Google Wallet. The Google Wallet API provides support for a number of common pass types, including boarding passes, event tickets, ID cards, and more. The Google Wallet API also provides a Generic pass type that can be used to create passes that are not otherwise specifically supported.

In most cases, a pass is created using both a Passes Class and a Passes Object.

Pass Issuer

A Pass Issuer is an entity that creates passes and issues them to users to save in their Google Wallet. The Pass Issuer owns the passes, and can create, issue, and update them. Pass Issuers can be individual developers, companies and organizations, as well as aggregators who create and issue passes on behalf of others, such as a company that specializes in implementing tickets for events or coupons for retailers.

Learn more

Passes Class

A Passes Class can be thought of as a shared template that passes are created from. A Passes Class defines certain properties that will be included in all passes that use it. A Pass Issuer can create multiple classes, each with their own distinctive set of properties that define attributes like style and appearance, as well as additional features like Smart Tap, and the Enrollment and Sign In.

In most cases, a pass is created by providing a Passes Class to define the template of the pass, and a Passes Object to define the specifics of the individual pass being issued.

Learn more

Passes Object

A Passes Object defines an individual pass that is issued to a user to save in their Google Wallet. Passes Objects often contain user-specific information. For example, while a Passes Class might define what a gift card pass for a specific shop will look like, the Passes Object will provide specific details like the balance or expiration date.

A Passes Object must be created for every pass that is issued, as opposed to Passes Classes which can be shared across many pass instances.

Learn more

Private passes

Some passes you create with the Google Wallet API may contain sensitive user data. These passes require extra protection to help keep your users data safe and are managed differently in the Google Wallet API by using the Generic Private pass type. The Generic Private pass should be used in cases where sensitive data (as defined in the Google Wallet API Acceptable Use Policy) is included in your pass, and may be subject to additional privacy controls and review during onboarding.

Learn more

Smart Tap

Smart Tap is a Google proprietary near-field communication protocol for conveying data between a mobile device and an NFC terminal. Smart Tap technology lets users redeem passes saved in their Google Wallet by holding their phone close to any compatible NFC terminal.

To use the Smart Tap protocol with your passes, you must establish a relationship with a Smart Tap capable terminal provider.

Learn more

APIs and SDK

Google Wallet API

The Google Wallet API is a service provided by Google that allows you create and issue passes for users to save in their Google Wallets. The API can be used in several different ways, including the Google Wallet REST API, the Google Wallet Android SDK, and the Google Wallet console.

Google Wallet REST API

The Google Wallet REST API is an interface for creating and managing passes programmatically by sending HTTP requests to the Google Wallet API.

To use the Google Wallet REST API, you'll also need a Google Cloud account to create a service account, which is used to authenticate requests to the Google Wallet REST API.

Google Wallet Android SDK

The Google Wallet Android SDK provides a set of convenience methods for working with the Google Wallet API in your Android apps, such as creating and issuing passes.

Add to Google Wallet

'Add to Google Wallet' button

The 'Add to Google Wallet' button is a Google-approved asset for presenting a pass to a user. When a user clicks or taps the button, an 'Add to Google Wallet' link should be triggered to start the flow of adding the issued pass to the user's Google Wallet.

It is recommended that you use the 'Add to Google Wallet' button whenever possible, since it's a familiar UI element that your users already know how to interact with.

Assets and guidelines for using the button are available in the Google Wallet API Brand Guidelines.

'Add to Google Wallet' link

With an 'Add to Google Wallet' link, you can issue a pass to a user with a normal hyperlink. This can be used anywhere you are able to use hyperlinks, such as email, SMS, websites, and mobile apps.

'Add to Google Wallet' links are created by appending a signed JWT to the URL https://pay.google.com/gp/v/save/.

Issuer account

Demo Mode

When you create your Issuer account, it will be in 'Demo Mode' until you are approved for publishing access. In demo mode you can create passes, but you can only issue them to users with the 'Admin' or 'Developer' roles of your Issuer account, or user's that have been added as test accounts in the Google Wallet console.

While in 'Demo Mode', the title of any passes you issue will automatically begin with the words '[TEST ONLY]' to indicate that the pass is for testing purposes only.

Test accounts

When your Issuer account is in 'Demo Mode', if you want to issue passes to any user that doesn't have the 'Admin' or 'Developer' roles for your account, you must add them as test accounts in the Google Wallet console. Users enrolled as test accounts will be able to add passes issued by you to their Google Wallet. This is useful for testing your passes with a wider audience while in 'Demo Mode'.

Business profile

To create an Issuer account for the Google Wallet API, you must set up a business profile when you register for the Google Pay & Wallet console. A business profile provides Google with basic information about your company or organization, and is required to be approved for publishing access.

Learn more

Publishing access

Before you can issue passes that any user can save to their Google Wallet, you must be approved for publishing access. To be approved for publishing access, you must have created at least one Passes Class, and have a complete business profile. Issuers that want to issue passes using the Google Wallet Android SDK must also submit the SHA-1 fingerprint for their app.

To request publishing access, go to the Google Wallet console and click the 'Request Publishing Access' button. The Google Wallet team will review your request and notify you once you've been granted publishing access.

Learn more

Authentication

JSON Web Token (JWT)

JSON Web Tokens are a commonly used industry standard for securely transferring information as a JSON object. When using the Google Wallet API, you encode the details of the Passes Object you want to use to create a pass instance in JWT (pronounced "jot") format, then send that JWT in a request to the Google Wallet API.

JWTs are kept secure by signing them with a shared secret before they are sent to the Google Wallet API. If you are using the Google Wallet REST API, the signing secret is your Google Cloud service account key. If you are using the Google Wallet Android SDK, the signing secret is the SHA-1 fingerprint for your Android app.

Service account

A Google Cloud service account is a special kind of account typically used by an application or compute workload, rather than a person. In the case of the Google Wallet API, a service account is what you will use to authenticate requests sent to the Google Wallet REST API.

Service accounts are created in the Google Cloud console. To use a service account, you will also need to enable the Google Wallet API in the Cloud console to allow the service account to make requests to the Google Wallet REST API.

Learn more

Service account key

A service account key is the credential you will use to authenticate calls to the Google Wallet REST API. The service account key is considered highly sensitive and must be kept private, as it grants access to many of the Pass Issuer features of your account using the Google Wallet REST API, including creating Passes Classes and Passes Objects.

Learn more

SHA-1 fingerprint

The SHA-1 fingerprint of your Android app signing certificate is the credential you will use to autheticate calls to the Google Wallet API when you use the Google Wallet Android SDK. The SHA-1 fingerprint of your certificate is generated using either Gradle or keytool. To use the fingerprint to autheticate your requests, you must register it in the Google Wallet console.

Learn more

Key concepts and terminology  |  Generic pass  |  Google for Developers (2024)
Top Articles
The Ten Percent Solution (Rutgers NJAES)
Discover thousands of collaborative articles on 2500+ skills
Golden Abyss - Chapter 5 - Lunar_Angel
Cold Air Intake - High-flow, Roto-mold Tube - TOYOTA TACOMA V6-4.0
Chris Provost Daughter Addie
25X11X10 Atv Tires Tractor Supply
Professor Qwertyson
Unlocking the Enigmatic Tonicamille: A Journey from Small Town to Social Media Stardom
Ou Class Nav
270 West Michigan residents receive expert driver’s license restoration advice at last major Road to Restoration Clinic of the year
Rochester Ny Missed Connections
Space Engineers Projector Orientation
ATV Blue Book - Values & Used Prices
Caliber Collision Burnsville
Flower Mound Clavicle Trauma
Chile Crunch Original
H12 Weidian
Invitation Homes plans to spend $1 billion buying houses in an already overheated market. Here's its presentation to investors setting out its playbook.
Never Give Up Quotes to Keep You Going
Titanic Soap2Day
Walmart Near South Lake Tahoe Ca
Pearson Correlation Coefficient
At&T Outage Today 2022 Map
Construction Management Jumpstart 3Rd Edition Pdf Free Download
Trivago Myrtle Beach Hotels
Bleacher Report Philadelphia Flyers
When His Eyes Opened Chapter 3123
Generator Supercenter Heartland
Funky Town Gore Cartel Video
Why Are The French So Google Feud Answers
Angela Muto Ronnie's Mom
Craigslist Ludington Michigan
Www Violationinfo Com Login New Orleans
Agematch Com Member Login
Gwu Apps
Craigslist Lakeside Az
The Syracuse Journal-Democrat from Syracuse, Nebraska
How to Draw a Sailboat: 7 Steps (with Pictures) - wikiHow
Sunrise Garden Beach Resort - Select Hurghada günstig buchen | billareisen.at
Busted Newspaper Campbell County KY Arrests
Appraisalport Com Dashboard Orders
SF bay area cars & trucks "chevrolet 50" - craigslist
Todd Gutner Salary
814-747-6702
War Room Pandemic Rumble
Hawkview Retreat Pa Cost
Ohio Road Construction Map
Mega Millions Lottery - Winning Numbers & Results
Bf273-11K-Cl
What Time Do Papa John's Pizza Close
Jasgotgass2
Latest Posts
Article information

Author: Mr. See Jast

Last Updated:

Views: 5550

Rating: 4.4 / 5 (75 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Mr. See Jast

Birthday: 1999-07-30

Address: 8409 Megan Mountain, New Mathew, MT 44997-8193

Phone: +5023589614038

Job: Chief Executive

Hobby: Leather crafting, Flag Football, Candle making, Flying, Poi, Gunsmithing, Swimming

Introduction: My name is Mr. See Jast, I am a open, jolly, gorgeous, courageous, inexpensive, friendly, homely person who loves writing and wants to share my knowledge and understanding with you.