Przegląd
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Włącz szybki dostęp do rekordów testowych za pomocą interfejsu Google Wallet API
Interfejs Google Wallet API ułatwia użytkownikom dodawanie rekordów testowych do Portfela Google na telefonach, zapewniając łatwy dostęp do danych.
Dodaj do telefonu z aplikacji lub witryny mobilnej
Rekordy testowe mogą być przechowywane na urządzeniu z Androidem użytkownika i obsługują wyłącznie procesy inicjowane na urządzeniu mobilnym, których celem jest próba dodania karty do Portfela Google.
Do uzyskania dostępu do karty COVID wymagane jest odblokowanie urządzenia
Portfel Google wymaga odblokowania urządzenia użytkownika, aby można było dodać lub wyświetlić wynik testu. Jeśli użytkownik nie ustawił jeszcze blokady ekranu, gdy spróbuje dodać rekord testowy, Portfel Google poprosi go o ustawienie blokady ekranu.
Jawna zgoda dotycząca danego kraju
Rekordy testowe przedstawiają użytkownikowi jawną zgodę dotyczącą danego kraju. Użytkownicy muszą wyrazić zgodę na dodanie karty do portfela.
Łatwy dostęp za pomocą skrótu na ekranie głównym Androida
Użytkownicy mogą utworzyć skrót na ekranie głównym Androida, aby mieć do niego łatwy dostęp. Gdy użytkownik doda rekord, jest proszony o zapisanie skrótu na ekranie głównym urządzenia.
Rozpocznij
Jeśli jesteś deweloperem z odpowiedniego podmiotu, podczas przesyłania prośby o dostęp w Konsoli usług Google Pay i Portfela zaznacz pole dotyczące usługi szczepienia przeciwko COVID lub testów na COVID.
Pamiętaj, aby przesłać dokumenty kwalifikacyjne. Pomożemy Ci uzyskać dostęp do dokumentacji
dla programistów i wprowadzić Cię.
Po otrzymaniu zatwierdzenia rekordów problemów zacznij wdrażać w nich rekordy na urządzeniach z Androidem.
Rozpocznij
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-08-29 UTC.
[null,null,["Ostatnia aktualizacja: 2025-08-29 UTC."],[[["\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)"]]