帳戶受限的票證
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
什麼是「帳戶受限的票證」?
推出新功能,可讓開發人員將部分票證物件與 Google 帳戶建立關聯,藉此限制可儲存票證的對象。
使用方式
請使用 Google Wallet API,在票證物件上設定使用者的電子郵件地址。當使用者嘗試將票證儲存至 Google 錢包時,我們會驗證票證物件中設定的帳戶,是否與儲存票證的 Google 錢包使用者 Google 帳戶相符。
聽起來很棒!如何使用這項功能?
我們正在與少數開發人員測試這項功能。如果有興趣,請在 Google Pay 和錢包主控台中與支援團隊聯絡,並在「Google Wallet API 整合」和「其他」子主題 (子主題:「其他」) 下方提交客服案件,並在問題說明中加入「帳戶受限制票證存取權要求」。系統會在您可以存取帳戶時通知您。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-29 (世界標準時間)。
[null,null,["上次更新時間:2025-08-29 (世界標準時間)。"],[[["\u003cp\u003eAccount Restricted Passes are a new feature allowing developers to link specific pass objects to Google accounts, restricting who can save them.\u003c/p\u003e\n"],["\u003cp\u003eThis feature works by verifying the Google Account of the user saving the pass against the account associated with the pass object using the Google Wallet API.\u003c/p\u003e\n"],["\u003cp\u003eThe feature is currently in limited testing, and interested developers can request access through Google Pay & Wallet Console support.\u003c/p\u003e\n"]]],["Developers can use Account Restricted Passes to link pass objects to specific Google accounts, limiting who can save them. This is done by setting the user's email on the pass object via the Google Wallet API. When a user attempts to save the pass, the system verifies that the pass's email matches the user's Google account. To gain access to this feature, developers must contact support through the Google Pay & Wallet Console, using the specified topic and subtopic, and requesting \"Account Restricted Passes Access.\"\n"],null,["# Account Restricted Passes\n\n#### What are Account Restricted Passes?\n\n\nA new feature that lets developers associate some pass objects with Google accounts which limits\nwho can save the pass.\n\n#### How does it work?\n\n\nYou set the user's email address on the pass object using the Google Wallet API. When the user\nattempts to save that pass to Google Wallet, we validate that the account set on the pass object\nmatches the Google Account of the Google Wallet user saving the pass.\n\n#### That sounds great! How do I get access to this feature?\n\n\nWe're testing the feature with a small number of developers. If you are interested,\n[contact support](https://support.google.com/google-pay-and-wallet-console/answer/10913634?zippy=%2Cbusiness-profile)\nin the [Google Pay \\& Wallet Console](https://goo.gle/wallet-console) and\nfile a support case under Topic: \"Google Wallet API Integration\", Subtopic: \"Other\"\nand include in the issue description: \"Account Restricted Passes Access Request\".\nWe'll let you know when you can access it."]]