Overview
Card Enrollment allows you to securely store (vault) a customer’s payment method for future use. Once enrolled, the customer receives avaulted_token that can be used for one-click payments without re-entering card details.
Vaulted tokens are PCI-compliant references to stored card data. The actual card details are securely held by Yuno and never exposed to your servers.
Enrollment Flow
Integration
1
Create an enrollment session (server-side)
2
Mount the enrollment form (client-side)
3
Enroll the card (server-side)
4
Use vaulted token for future payments
In subsequent payments, pass the
vaulted_token instead of collecting card details:Managing Enrolled Cards
Retrieve a customer’s enrolled payment methods:Best Practices
- Always associate vaulted tokens with authenticated customer accounts
- Display masked card details (last 4 digits, brand) for customer recognition
- Provide an option for customers to remove enrolled cards
- Handle expired cards gracefully by prompting re-enrollment