创建卡券并将其编码到已签名的 JWT 中后,您就可以在支持“添加到 Google 钱包”链接的任何位置签发该卡券。为此,您需要向用户显示“添加到 Google 钱包”按钮或超链接,用户点按该按钮或超链接后,系统会将卡券保存到其 Google 钱包中。您可以在移动应用、网站、电子邮件、聊天和短信等场景中使用此方法。
[null,null,["最后更新时间 (UTC):2026-11-12。"],[],["After creating and encoding a pass in a signed JWT, you can issue it via an 'Add to Google Wallet' link or button on websites, emails, or SMS. This link, a dynamically generated URL containing the signed JWT, directs users to save the pass to their Google Wallet. Before issuing, complete onboarding, create Passes Classes and Objects, encode, and sign your JWT. Demo passes have a \"[TEST ONLY]\" label. The maximum safe length for the JWT is 1800 characters.\n"]]