總覽
部分可透過 Google 錢包建立的票證可能含有使用者私密資料,這些票證提供額外的防護措施,可協助保障使用者資料安全,且在 Wallet API 中的管理方式不同。如果您的票證包含機密資料 (定義請見 Wallet API 使用限制政策所定義),則應使用一般私人證件類別。
一般私人證件類別可支援以下用途:
部分國家/地區和管轄區規定機密資料須以特定方式管理。因此,此處列舉的用途清單可能會因您所在的國家/地區或其他法規而異。如果您的使用者資料受到所在國家/地區的法律規定 (例如美國的《健康保險流通與責任法案》),就必須使用一般私人證件類別,並可能必須接受額外審查。
不同之處
一般私人證件會使用獨立方法來定義及發布票證。身為開發人員,您可以在單一 JSON Web Token 中定義傳遞的版面配置和內容,然後直接將這個權杖提供給使用者,讓他們儲存至錢包。
處理私密資料的票證 (又稱一般私人證件) 可能會在加入過程中施行其他隱私權控制項。如 Wallet API 的《 使用限制政策 》中所定義,我們不允許在未經 Google 明確許可的情況下,使用 API 處理 Google 錢包中的機密資料。
要求存取權
如果票證含有機密資料,請在 Google Pay 和錢包主控台中與支援團隊聯絡並要求存取權。如果不確定票證是否含有機密資料,請與支援團隊聯絡。
您必須提供下列資訊:
- 資格文件:驗證您的身分及證明您是有效實體
- 您的標誌網址
- 你的網站網址
開始使用
獲準核發一般私人證件後,請開始進行導入作業,將票證新增至 Google 錢包。
開始
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-09-05 (世界標準時間)。
[null,null,["上次更新時間:2024-09-05 (世界標準時間)。"],[[["Google Wallet has extra protection for passes containing sensitive user data, like health insurance or national ID cards, using the generic private pass vertical."],["These passes are managed differently, requiring developers to define the layout and contents in a JSON Web Token distributed directly to the user."],["Using the Google Wallet APIs for sensitive data requires explicit permission from Google and may involve additional privacy controls during onboarding."],["Developers must request access through Google Pay and Wallet Console support and provide verification documents to be eligible to issue generic private passes."],["After approval, developers can begin implementation by referring to the provided 'Get started' resources."]]],[]]