Kullanıcılar kartlarını kullanırken veya kartlarına erişirken ek güvenlik önlemleri almanızı zorunlu kılabilirsiniz. Ayrıntılar için Ekran Kilidi ile koruma konusuna bakın.
NFC dokundurma
Kullanıcılarınız NFC dokunuşunu kullanarak kartlarını sorunsuz bir şekilde kullanabilir. Akıllı Dokunma hakkında daha fazla bilgi edinin ve Akıllı Dokunma'ya kaydolun.
Barkod tarama
Barkod ekleyerek müşterilerinizin Kartlarını taramalarına yardımcı olun.
Statik barkod
object.barcode ayarlayarak statik bir barkod görüntüleyebilirsiniz.
API, çeşitli barkod türleri sağlar. Daha fazla bilgi için Barcode türünü inceleyin.
Dönen barkod
Daha fazla güvenlik için object.rotatingBarcode ayarlayarak dönen bir barkod görüntüleyebilirsiniz. Dönen barkodlar normal barkodlara benzer ancak
düzenli aralıklarla, genellikle dakikada bir değişir ve terminal/okuyucu yalnızca en yenisini
kabul edecek şekilde programlanır. Bu, barkod ekran görüntüsü alma, özellikle de bilet hırsızlığı veya yetkisiz bilet satışı ile ilgili riskleri azaltır. Daha fazla bilgi için RotatingBarcode türünü inceleyin.
Güvenlik animasyonu
Ekran görüntüsünün kötüye kullanılmasını önlemenin bir başka yolu da, kartın gerçek kişiler tarafından doğrulanmasını destekleyen barkod güvenlik animasyonunu görüntülemektir.
Güvenlik animasyonunun fiziksel görünümü, pasonun barkodunun etrafında parıldayan bir taslak şeklindedir. Bu parıltılı animasyon yalnızca cihaz hareket halindeyken tetiklenir. Böylece kullanıcı, kartı eğerek kartın geçerliliğini test edebilir. Diğer yandan, cihazı tutarken yalnızca renkli güvenlik animasyonunu döngü oluşturur.
Geçişte güvenlik animasyonunu etkinleştirmek için kart sınıfında SecurityAnimation alanının AnimationType değerini FOIL_SHIMMER olarak ayarlayın.
Güvenlik animasyonunun etkinleştirildiğinde nasıl görüneceğine ilişkin bir örnek için aşağıdaki Şekil 1'e bakın:
Şekil 1.
Ekran Kilidi ile Koruyun
Müşterinizin karta erişimini korumak için, kartı her eklediğinde veya karta her eriştiğinde ekran kilidinin uygulanmasını zorunlu tutabilirsiniz. Bunun için class.viewUnlockRequirement ayarını yapabilirsiniz.
Daha fazla bilgi için ViewUnlockRequirement türünü inceleyin.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-09-04 UTC."],[[["\u003cp\u003ePasses can be redeemed via NFC tap or barcode scan, with barcode options including static and rotating for enhanced security.\u003c/p\u003e\n"],["\u003cp\u003eRotating barcodes and the security animation feature minimize risks associated with barcode screenshotting and fraud.\u003c/p\u003e\n"],["\u003cp\u003eThe security animation provides a shimmering visual effect around the barcode, activated by device movement for verification.\u003c/p\u003e\n"],["\u003cp\u003eUsers can be required to use screen lock for added security when adding or accessing their pass for enhanced protection.\u003c/p\u003e\n"]]],["Pass redemption can occur via NFC tap or barcode scan. Barcodes can be static or rotating, the latter enhancing security by changing periodically. A security animation, a shimmering outline around the barcode, also deters screenshot abuse. Enabling this requires setting `AnimationType` to `FOIL_SHIMMER`. For added security, requiring a screen lock for pass access or addition is available by configuring `class.viewUnlockRequirement`. Users can also use the Smart Tap to redeem their passes.\n"],null,["# Redeem a Loyalty card\n\nPasses can be redeemed in either of two ways:\n\n- [NFC tap](#use-nfc-tap)\n- [Barcode scan](#use-barcode-scan)\n\nYou can optionally require extra security when users redeem or access their pass. For details,\nsee [Protect with Screen Lock](#protect-with-screen-lock).\n\nNFC tap\n-------\n\nYour users can seamlessly redeem their cards using an NFC tap. Learn more about\n[Smart Tap](/wallet/smart-tap), and\n[sign up](https://support.google.com/pay/merchants/contact/smart_tap_support) for Smart\nTap.\n\nBarcode scan\n------------\n\nHelp your customers scan their Pass by attaching a barcode.\n\n### Static barcode\n\nYou can display a static barcode by setting `object.barcode`.\nThe API provides a variety of barcode types. For more details, see the\n[`Barcode` type](/wallet/retail/loyalty-cards/rest/v1/Barcode).\n\n### Rotating barcode\n\n\nFor additional security, you can display a rotating barcode by setting\n`object.rotatingBarcode`. Rotating barcodes look just like regular barcodes but\nchange periodically, typically every minute, and the terminal/reader is programmed to only\naccept the most recent one. This reduces the risks associated with barcode screenshotting, in\nparticular ticket theft or unauthorized ticket resale. For more details, see the\n[`RotatingBarcode` type](/wallet/retail/loyalty-cards/rest/v1/RotatingBarcode).\n\n### Security animation\n\n\nAnother way to prevent screenshot abuse is by displaying the barcode security animation, which\nsupports human-verification of a pass.\n\n\nThe physical manifestation of a security animation is a shimmering outline around the barcode of\nthe pass. This shimmering animation triggers only when the device is in motion so one can test\nthe pass' validity by tilting the device. On the other hand holding the device still will only\nanimate the colorful security animation in loop.\n\n\nTo enable security animation for a pass, in the pass class, set the [`SecurityAnimation`](/wallet/retail/loyalty-cards/rest/v1/SecurityAnimation)\nfield's [`AnimationType`](/wallet/retail/loyalty-cards/rest/v1/SecurityAnimation#AnimationType)\nto `FOIL_SHIMMER`.\n\n\nSee Figure 1. below for an example of how the security animation appears when it is enabled:\n\n\n**Figure 1.**\n\nProtect with Screen Lock\n------------------------\n\nTo protect your customer's access to their Pass, you can require a screen\nlock each time they add or access their pass. This can be done by setting `class.viewUnlockRequirement`.\nFor more details, see the\n[`ViewUnlockRequirement` type](/wallet/retail/loyalty-cards/rest/v1/ViewUnlockRequirement)."]]