创建卡券并将其编码到已签名的 JWT 中后,您就可以在支持“添加到 Google 钱包”链接的任何位置签发该卡券。为此,您需要向用户显示“添加到 Google 钱包”按钮或超链接,用户点按该按钮或超链接后,系统会将卡券保存到其 Google 钱包中。您可以在移动应用、网站、电子邮件、聊天和短信等场景中使用此方法。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2026-11-12。"],[],["To issue a pass, present users with an 'Add to Google Wallet' button or hyperlink, which saves the pass upon tapping. This link, formatted as `https://pay.google.com/gp/v/save/\u003csigned_jwt\u003e`, contains an encoded and signed JWT and can be embedded in various mediums like websites, email, or SMS. Before issuing, complete onboarding, create pass classes and objects, encode them in a JWT, and sign the JWT with a service account key. The recommended method is using the 'Add to Google Wallet' button.\n"]]