Karty ograniczone na koncie
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Czym są karty ograniczone na koncie?
Nowa funkcja, która umożliwia deweloperom powiązanie niektórych obiektów kart z kontami Google, co ogranicza możliwość zapisywania karty.
Jak to działa?
Adres e-mail użytkownika ustawia się w obiekcie karty za pomocą interfejsu Google Wallet API. Gdy użytkownik próbuje zapisać kartę w Portfelu Google, sprawdzamy, czy konto ustawione w obiekcie karty jest zgodne z kontem Google użytkownika Portfela Google zapisującego kartę.
Brzmi świetnie! Jak mogę uzyskać dostęp do tej funkcji?
Testujemy tę funkcję wśród niewielkiej grupy deweloperów. Jeśli chcesz skorzystać z tej możliwości, skontaktuj się z zespołem pomocy w Konsoli Google Pay i Portfela Google i prześlij zgłoszenie do zespołu pomocy w temacie „Integracja interfejsu API Portfela Google”, podtematem „Inne” i w opisie problemu: „Prośba o dostęp do kart z ograniczeniami konta”. Poinformujemy Cię, kiedy będzie można uzyskać dostęp do tej karty.
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\u003eAccount Restricted Passes are a new feature allowing developers to link specific pass objects to Google accounts, restricting who can save them.\u003c/p\u003e\n"],["\u003cp\u003eThis 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.\u003c/p\u003e\n"],["\u003cp\u003eThe feature is currently in limited testing, and interested developers can request access through Google Pay & Wallet Console support.\u003c/p\u003e\n"]]],["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"],null,["# Account Restricted Passes\n\n#### What are Account Restricted Passes?\n\n\nA new feature that lets developers associate some pass objects with Google accounts which limits\nwho can save the pass.\n\n#### How does it work?\n\n\nYou set the user's email address on the pass object using the Google Wallet API. When the user\nattempts to save that pass to Google Wallet, we validate that the account set on the pass object\nmatches the Google Account of the Google Wallet user saving the pass.\n\n#### That sounds great! How do I get access to this feature?\n\n\nWe're testing the feature with a small number of developers. If you are interested,\n[contact support](https://support.google.com/google-pay-and-wallet-console/answer/10913634?zippy=%2Cbusiness-profile)\nin the [Google Pay \\& Wallet Console](https://goo.gle/wallet-console) and\nfile a support case under Topic: \"Google Wallet API Integration\", Subtopic: \"Other\"\nand include in the issue description: \"Account Restricted Passes Access Request\".\nWe'll let you know when you can access it."]]