概览
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
使用 Google Wallet API 快速访问测试记录
借助 Google Wallet API,您的用户可轻松将测试记录添加到手机上的 Google 钱包,从而轻松访问。
从您的应用或移动网站添加到手机
测试记录可以存储在用户的 Android 设备上,并且仅支持在移动设备上发起并尝试将卡添加到 Google 钱包的流程。需要解锁设备才能访问新冠信息卡
Google 钱包需要解锁用户的设备才能添加或查看检测记录。如果用户尚未设置屏幕锁定,当用户尝试添加测试记录时,Google 钱包会提示用户设置屏幕锁定。
针对特定国家/地区的明确许可
测试记录会在添加流程中向用户显示特定于国家/地区的明确同意声明。用户必须接受此同意声明才能将卡添加到钱包。
通过 Android 主屏幕快捷方式轻松访问
用户可以创建 Android 主屏幕快捷方式,以便轻松访问。用户添加记录后,系统会提示他们将快捷方式保存到设备的主屏幕上。
开始使用
如果您是符合条件的实体的开发者,请在 Google Pay 和钱包控制台中申请访问权限时,选中新冠疫苗接种或检测服务复选框。请务必提供您的资格证明文件。然后,我们将帮助您获取开发者文档并完成新手入门流程。
获得问题记录的批准后,请开始实现向 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 Test Records on their Android phones via Google Wallet.\u003c/p\u003e\n"],["\u003cp\u003eTest Records are added to Google Wallet through mobile-originated flows, require device unlock for access, and prompt users for explicit country-specific consent.\u003c/p\u003e\n"],["\u003cp\u003eUsers can create a home screen shortcut for quick access to their Test Records after adding them to Google Wallet.\u003c/p\u003e\n"],["\u003cp\u003eEligible entities can request access in the Google Pay and Wallet Console to begin issuing Test Records to Android devices.\u003c/p\u003e\n"]]],["The Google Wallet API facilitates adding Test Records to users' Android devices for quick access. Users can add records from a mobile app or website, requiring device unlock for access and explicit, country-specific consent. After adding, a home screen shortcut can be created. Developers from eligible entities should request access via the Google Pay and Wallet Console, providing necessary eligibility documentation. Upon approval, developers can proceed with implementing the record-adding process.\n"],null,["# Overview\n\n### Enable fast access to Test Records by using the Google Wallet API\n\nThe Google Wallet API makes it easy for your users to add their Test Records\nto Google 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\nto the Google Wallet.\nDevice unlock required to access COVID Card\nGoogle Wallet requires the user's device to be unlocked to add or view a\ntest record. If the user hasn't already set up screen lock, Google Wallet\nprompts the user to set up screen lock when they attempt to add a test record.\n\n### Explicit, country-specific consent\n\nTest records present explicit, country-specific consent to the user during the\nadd 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\nthe user adds the record, they're prompted to save a shortcut to their device's Home screen.\n\nGet started\n-----------\n\nIf you're a developer from an eligible entity, select the COVID vaccination or testing service\nbox when you request access in the\n[Google Pay and Wallet Console](https://goo.gle/wallet-console).\nBe sure to provide your\n[eligibility\ndocumentation](https://payments.developers.google.com/terms/aup#covid-cards). We will then help you get access to the 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/test-records/guides)"]]