Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Une fois qu'un utilisateur a ajouté un titre de transport, vous pouvez le présenter sous la forme d'un lien permettant à l'utilisateur d'y accéder depuis différents supports.
Pour créer le lien, vous pouvez définir l'élément objectId dans l'URL ci-dessous afin de le faire correspondre à la carte.
Utilisez le lien suivant pour référencer la carte :
Vous pouvez afficher la carte dans l'application Google Wallet ou dans un navigateur Web.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/08/13 (UTC).
[null,null,["Dernière mise à jour le 2024/08/13 (UTC)."],[[["\u003cp\u003eUsers can access their saved passes via a generated link containing the pass's \u003ccode\u003eobjectId\u003c/code\u003e and \u003ccode\u003eissuerId\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis link, formatted as \u003ccode\u003ehttps://pay.google.com/gp/v/object/{<issuerId>}.{<objectId>}\u003c/code\u003e, can be integrated into various platforms for easy pass access.\u003c/p\u003e\n"],["\u003cp\u003ePasses are viewable both online through a web browser and offline through the Google Wallet app (if installed and the pass is already added).\u003c/p\u003e\n"],["\u003cp\u003eUsers without the pass added will encounter an "Item not found" error when attempting to access the link.\u003c/p\u003e\n"]]],["The core functionality is enabling users to access a saved pass via a link. This link, constructed using the `objectId`, follows the format: `https://pay.google.com/gp/v/object/{\u003cissuerId\u003e}.{\u003cobjectId\u003e}`. Users can view the pass through either the Google Wallet app or a web browser. If the pass isn't added, an error is shown. Offline access is available via the Google Wallet app if installed.\n"],null,["# Link to an Offer\n\nAfter a user adds a pass, you can present the pass as a link allowing the\nuser to go to their pass from a number of different surfaces.\n\n\nTo create the link, the `objectId` can be set in the URL below to link\nto the pass.\n\n\nUse the following link to reference the pass: \n\n```\nhttps://pay.google.com/gp/v/object/{\u003cissuerId\u003e}.{\u003cobjectId\u003e}\n```\n\n\nThe pass can be viewed with either Google Wallet app or a web browser.\n| **Note**: If the user doesn't have the pass added, they receive an \"Item not found\" error. If the user has the Google Wallet app installed, the link works offline."]]