The Google Wallet API makes it easy for your customers to add loyalty cards to Google Wallet on their phones, which provides easy access at the right time. Loyalty cards let users redeem and use their points more efficiently through a given loyalty program.
Saving loyalty cards in Google Wallet also eliminates the clutter and enables faster access. To find the card, users simply need to open up the Google Wallet app, swipe up, and tap the one they want to use. By enabling loyalty cards to Google Wallet, users will never miss a chance to earn rewards, it grants immediate visibility to points and rewards directly on the mobile.
Integration steps
The following steps are required to integrate with the Google Wallet API. Select your integration type below depending on if you are reaching your customers on Android devices only or on Android, Web, Email, or SMS.Android, Web, Email, or SMS
- Understand how classes and objects work & familiarize yourself with the Add to Google Wallet flows
- Complete the prerequisites
- Create a Google Cloud project with a service account and private key
- Create your business account in the Google Pay and Wallet Console
- Authorize your service account in the Google Pay and Wallet Console
- Enable the Google Wallet API
- Create a class
- [Optional] Build a pass using the pass visualizer tool to generate the JSON for your classes and objects
- Create a JWT link with the class and object signed with your private key
- Surface the Add to Google Google Wallet button in your application
- Complete the testing checklist
- Request for publishing access in the Google Pay and Wallet Console
Android Only
- Understand how classes and objects work & familiarize yourself with the Add to Google Wallet flows
- Complete the prerequisites
- Authorize your app
- Create your business account in the Google Pay and Wallet Console
- Create a class
- [Optional] Build a pass using the pass visualizer tool to generate the JSON for your classes and objects
- Create a pass by saving a signed JWT or by saving unsigned JSON using the Android SDK
- Surface the Add to Google Google Wallet button in your application
- Complete the testing checklist
- Request for publishing access in the Google Pay and Wallet Console
Get started
To be guided through these steps, get started with our hands on Codelab for Web and Android, or start by choosing the right integration for you. The right integration for you depends on your specific requirements and is mostly driven by how you wish to reach your customers.- Android Only: Android SDK
- Android, Web, Email, or SMS: Web API and JWT