Stay organized with collections
Save and categorize content based on your preferences.
Once you've created a pass and encoded it in a signed JWT, you are ready to issue it anywhere that the 'Add to Google Wallet' link is supported. To do this, you will present your user with an 'Add to Google Wallet' button or a hyperlink, which will save the pass to their Google Wallet once they tap it. Examples of where you might use this method include websites, email, SMS, and more.
Prerequisites
Before you try to issue a pass, be sure you do the following:
Encode your Passes Class and Passes Object in a JWT.
Sign your JWT with your Google Cloud service account key.
1. Create an 'Add to Google Wallet' link
Issuing a pass with an 'Google Wallet' link adds the Passes Object to a user's Google Wallet, and can only be initiated in the context of a logged-in Google identity.
For more information on how to create the signed JWT needed to create an 'Add to Google Wallet' link, see Working with JSON Web Tokens.
2. (Recommended) Use the 'Add to Google Wallet' button
For any surfaces that support hyperlinking images, such as websites and email, it is recommended to present the 'Add to Google Wallet' link to your users with an 'Add to Google Wallet' button. For Google Wallet users, the button is a familiar prompt that is recognizable as a way to initiate adding a pass to their Google Wallet.
Image assets are available to download in a variety of orientations and languages to support your Google Wallet API integration.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-24 UTC."],[[["Issue passes to users by providing an 'Add to Google Wallet' link, which can be embedded in various platforms like websites, emails, and SMS."],["The 'Add to Google Wallet' link is a dynamically generated URL containing an encoded and signed JWT, directing users to save the pass to their Google Wallet."],["Before issuing passes, complete the onboarding process, create a Passes Class and Object, and encode them in a signed JWT."],["It's recommended to present the link using the 'Add to Google Wallet' button, providing a familiar and recognizable call to action for users."],["Demo passes will include \"[TEST ONLY]\" in the title until publishing access is granted, after which the text will be removed for users."]]],["To issue a pass, present users with an 'Add to Google Wallet' link or button. This link, embedded in websites, emails, or SMS, contains a signed JWT and saves the pass to the user's Google Wallet. Before issuing, complete onboarding, create a Passes Class and Object, and encode/sign them in a JWT. Demo passes will show \"[TEST ONLY]\" text. The 'Add to Google Wallet' button is recommended where image hyperlinking is possible, with downloadable image assets provided.\n"]]