Card fingerprints are a cryptographic hash of the card’s PAN that uniquely identifies a specific payment card. Yuno returns this value as fingerprint on the Payment Method object. When the same card is enrolled multiple times by the same customer, Yuno creates separate enrollments with distinct vaulted_token values, and the fingerprint helps you detect duplicates.
Key Properties:
- Remains consistent across multiple enrollments of the same card
- Is unique to each distinct card number
- Protects PCI compliance by not exposing the full card number
- Enables deduplication without storing or accessing sensitive card data
How It Works
Same Card, Multiple Enrollments
Different Cards
Why Duplicate Enrollments Occur
To avoid operational issues, Yuno does not automatically prevent duplicate card enrollments. When a customer enrolls the same card multiple times:
- Each enrollment creates a new
vaulted_token
- No automatic deduplication occurs
- This applies regardless of whether expiration date or cardholder info changes
Implement deduplication on your side using fingerprints.
Implementation Guide
Step 1: Retrieve Existing Payment Methods
Use the Retrieve Enrolled Payment Methods endpoint to list the customer’s existing cards.
Response:
Step 2: Check for Duplicates After Enrollment
Step 3: Handle Duplicates
You have several options when a duplicate is detected:
Option A: Prevent Enrollment (Recommended for Best UX)
Option B: Notify After Enrollment
Option C: Keep Both Enrollments
Complete Implementation Example
Important Considerations
Timing Limitation
You cannot check fingerprints before the customer enters their card information. This is a PCI compliance requirement.
Workaround: Display existing saved cards before the enrollment form so customers can see what they already have saved.
Fingerprint Availability
The fingerprint field may be null for some payment methods or providers. Always check if the fingerprint exists before using it:
Alternative matching:
Different cards may share the same IIN and LFD.
Card Updates
The fingerprint behavior with card updates:
Network token fingerprint
For network tokens, Yuno uses a network_token_fingerprint that works like the card fingerprint and is scoped to your organization and the unique identifier of the network token in the PCI vault. This means duplicate enrollments for the same PAN can map to the same network token. For more details, see Network Tokens.
Use Cases
1. Prevent Wallet Clutter
Help users avoid saving the same card multiple times:
2. Improve User Experience
Automatically clean up duplicates:
3. Data Cleanup
Identify and remove duplicate enrollments in batch:
4. Analytics and Monitoring
Track duplicate enrollment rates: