帳戶受限的票證
什麼是「帳戶受限的票證」?
推出新功能,可讓開發人員將部分票證物件與 Google 帳戶建立關聯,藉此限制可儲存票證的對象。
使用方式
請使用 Google Wallet API,在票證物件上設定使用者的電子郵件地址。當使用者嘗試將票證儲存至 Google 錢包時,我們會驗證票證物件中設定的帳戶,是否與儲存票證的 Google 錢包使用者 Google 帳戶相符。
聽起來很棒!如何使用這項功能?
我們正在與少數開發人員測試這項功能。如果有興趣,請在 Google Pay 和錢包主控台中與支援團隊聯絡,並在「Google Wallet API 整合」和「其他」子主題 (子主題:「其他」) 下方提交客服案件,並在問題說明中加入「帳戶受限制票證存取權要求」。系統會在您可以存取帳戶時通知您。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-02-28 (世界標準時間)。
[null,null,["上次更新時間:2025-02-28 (世界標準時間)。"],[[["Account Restricted Passes are a new feature allowing developers to link specific pass objects to Google accounts, restricting who can save them."],["This 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."],["The feature is currently in limited testing, and interested developers can request access through Google Pay & Wallet Console support."]]],["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"]]