概览
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
利用 Google Wallet API 实现疫苗接种卡的快速访问。
借助 Google Wallet API,用户可轻松将记录添加到手机上的 Google 钱包,从而轻松访问。
从您的应用或移动网站添加到手机
测试记录可以存储在用户的 Android 设备上,并且仅支持在移动设备上发起并尝试将卡添加到 Google 钱包的流程。
需要解锁设备才能访问疫苗接种卡
只有在解锁用户的设备后,Google 钱包才能添加或查看记录。如果用户尚未设置屏幕锁定,则 Google 钱包会在用户尝试添加记录时提示用户设置屏幕锁定。
针对特定国家/地区的明确许可
测试记录会在“添加到 Google 钱包”流程中向用户显示特定于国家/地区的明确同意声明。用户必须接受此同意声明才能将卡添加到钱包。
通过 Android 主屏幕快捷方式轻松访问
用户可以创建 Android 主屏幕快捷方式,以便轻松访问。用户添加记录后,系统会提示他们将快捷方式保存到其设备的主屏幕上。
开始使用
如果您是符合条件的实体的开发者,请在 Google Pay 和钱包控制台中申请访问权限时,选中新冠疫苗接种或检测服务复选框。请务必提供您的资格文件。然后,我们将帮助您获取 COVID-19 卡片开发者文档,并帮助您顺利上手。
获得问题记录的批准后,请开始实现向 Android 设备添加记录。
开始使用
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-29。
[null,null,["最后更新时间 (UTC):2025-08-29。"],[[["\u003cp\u003eThe Google Wallet API enables users to easily store and access their Vaccine Cards on their Android phones for quick retrieval.\u003c/p\u003e\n"],["\u003cp\u003eUsers must explicitly consent and have a device screen lock set up to add or view Vaccine Cards in Google Wallet.\u003c/p\u003e\n"],["\u003cp\u003eEligible entities can request access through the Google Pay and Wallet Console to begin issuing Vaccine Cards and integrating this feature.\u003c/p\u003e\n"],["\u003cp\u003eVaccine Cards are easily accessible through an optional Android Home screen shortcut for user convenience.\u003c/p\u003e\n"]]],["The Google Wallet API facilitates adding Vaccine Cards to Android devices. Users can add records from a mobile app or website, with device unlock required for access. Country-specific consent is mandatory during the \"Add to Google Wallet\" flow. Users can create a Home screen shortcut for quick access. Developers from eligible entities can request access via the Google Pay and Wallet Console, providing eligibility documentation to begin implementing records.\n"],null,["# Overview\n\nEnable fast access to Vaccine Cards by using the Google Wallet API.\nThe Google Wallet API makes it easy for your users to add their records to\nGoogle Wallet on their phones, providing easy access.\n\n### Add to phone from your app or mobile website\n\nTest records can be stored on the user's Android-powered device, and only\nsupport flows that originate on a mobile device and attempt to add the card to\nthe Google Wallet.\n\n### Device unlock required to access Vaccine Card\n\nGoogle Wallet requires the user's device to be unlocked to add or view a\nrecord. If the user hasn't already set up screen lock,\nGoogle Wallet prompts the user to set up screen lock when they attempt to\nadd a record.\n\n### Explicit, country-specific consent\n\nTest records present explicit, country-specific consent to the user during\nthe Add to Google Wallet flow. Users must accept this consent to add the card to their wallet.\n\n### Easy access through Android Home screen shortcut\n\nUsers can create an Android Home screen shortcut for easy access. After the\nuser adds the record, they're prompted to save a shortcut to their device's\nHome screen.\n\nGet started\n-----------\n\nIf you're a developer from an eligible entity, select the COVID vaccination or\ntesting service box when you request access in the\n[Google Pay and Wallet Console](https://goo.gle/wallet-console).\nBe sure to provide your [eligibility\ndocumentation](https://payments.developers.google.com/terms/aup#covid-cards). We will then help you get access to the COVID Card developer documentation\nand onboard you.\n\nAfter you have received approval to issues records,\nget started with your\nimplementation to add records to Android devices.\n\n[Get started](/wallet/health/vaccine-cards/guides)"]]