
This will allow you to create pass classes and objects that can be added to user wallets. In this step, you will create an Issuer account in demo mode. If you are stuck at any point in the codelab, the google-pay/wallet-android-codelab GitHub repository contains a complete solution for reference.
Check if the Google Wallet API is available on an Android-powered device. Add the Google Wallet SDK to your Android app. A Google Account with access to the Google Cloud consoleĪfter completing this codelab, you will be able to do the following:. Create an Add to Google Wallet button to save a pass. Create a service account for issuing passes. Create a new issuer account in demo mode. In this codelab, you will complete the following tasks. It contains information common to all pass objects that belong to this class.Īn instance of a pass class that is unique to a user ID. The Google Wallet API exposes methods to create the following:Ī template for an individual pass object. You can use generic passes for any use case that can be presented with:įor more information on the Google Wallet API, or adding an Add to Google Wallet button to an Android application, please see the Google Wallet developer documentation.Īll pass classes and objects must adhere to the Acceptable Use Policy. Here are some example use cases for the generic pass type:
To create a more customized experience, you can use the generic pass type. However, these might not fit every use case. Each pass type, or pass class, comes with use-case specific fields and features to enhance the user experience. The Google Wallet API allows you to engage with users through various types of passes: loyalty cards, offers, gift cards, event tickets, transit tickets, boarding passes, and more.