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
Implementation Guide
Step 1: Retrieve Existing Payment Methods
Use the Retrieve Enrolled Payment Methods endpoint to list the customer’s existing cards.Step 2: Check for Duplicates After Enrollment
Step 3: Handle Duplicates
You have several options when a duplicate is detected: Recommended: Option A (prevent enrollment) for most integrations. Use B or C only if your product intentionally allows multiple saved copies of the same card.Option A: Prevent Enrollment (Recommended for Best UX)
Option B: Notify After Enrollment
Option C: Keep Both Enrollments
Complete Implementation Example
Important Considerations
Fingerprint Availability
Thefingerprint field may be null for some payment methods or providers. Always check if the fingerprint exists before using it:
Card Updates
The fingerprint behavior with card updates:Network token fingerprint
For network tokens, Yuno uses anetwork_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.