账号受限卡券
什么是账号受限卡券?
一项新功能,使开发者能够将一些卡券对象与 Google 帐号相关联,从而限制谁可以保存卡券。
该如何使用?
您需要使用 Google Wallet API 在卡券对象上设置用户的电子邮件地址。当用户尝试将该卡券保存到 Google 钱包时,我们会验证在卡券对象上设置的帐号是否与保存该卡券的 Google 钱包用户的 Google 帐号一致。
听起来不错!如何获得此功能?
我们正在一小部分开发者中测试该功能。如果您有兴趣,请在 Google Pay 与钱包控制台中与支持团队联系,并在主题“Google Wallet API 集成”,子主题:“其他”下提交支持请求,并在问题说明中添加“帐号受限卡券访问请求”。我们会在您可以使用该功能时通知您。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-29。
[null,null,["最后更新时间 (UTC):2024-08-29。"],[[["Account Restricted Passes are a new feature allowing developers to link specific pass objects to Google accounts, controlling who can save them."],["This feature functions by validating the Google Account of the user saving the pass against the account associated with the pass object via the Google Wallet API."],["Currently, access to Account Restricted Passes is limited to select developers, and interested parties can request access through Google Pay & Wallet Console support."]]],[]]