Getting started
What is the Google Wallet API?
The Google Wallet API allows developers to create digital passes in the Google Wallet. The Google Wallet API currently supports boarding passes, event tickets, loyalty cards, offers, and transit passes. More recently, a generic pass type was added to support additional use cases.
How do I contact technical support support?
For additional help, contact the support team through the Google Pay and Wallet console.
API Exceptions and Troubleshooting
- What does this Exception mean?
-
If you encounter any API exceptions while working with the Google Wallet API, please see the following table to find explanations and suggestions:
Exception Example Message Suggestion 400 - InvalidArgumentException Invalid resource ID: {1234567891234567899 - ABCD1234567}. Check the data structure for type, format and length and pass the correct argument. 403 - IamPermissionDeniedException Permission Denied Ensure the correct Service Account email is an authorized user within your Business Pay and Wallet Console. 404 - NotFoundException Wallet Object {1234567891234567899.SampleClubCardxf6a8edf-87ca-4022-a813-694cc57e9fd3} not found. Perform a GET on the Object ID before trying before a PATCH or PUT request to ensure you have an object to update and that it's the latest. 404 - IssuerClassNotFoundException Wallet Object {1234567891234567899.SampleClubCardxf6a8edf-87ca-4022-a813-694cc57e9fd3} not found. When performing an update , ensure you do a GET request before a PATCH or PUT request to ensure you have a class to reference that it’s the latest class. Also ensure the correct payload (object and class) is being used in the request correctly. 409 - AlreadyExistsException Wallet Object Class {1234567891234567899.ABCD.1234567} already exists. Perform a GET on the Class ID before trying to create the same Class ID. If the resource exists you may want to use PATCH or PUT.
Leave feedback
How do I leave product feedback?
To leave product feedback click the "Send Feedback" button in the upper right quadrant of the developer site page and select "Product feedback". Next, describe your feedback in the text area and click "Send".
How do I leave documentation feedback?
To leave documentation feedback click the "Send Feedback" button in the upper right quadrant of the developer site page and select "Documentation feedback". Next, describe your feedback in the text area and click "Send".