vaulted_token for their customers.
Benefits
- Speed and ease: Users can resolve payment issues instantly without logging into their account or re-entering all their details
- Seamless update: The new card used in the payment link is automatically saved when the previous card expires or is blocked, preventing future payment issues
- Enhanced security: All payments made through the link are protected with advanced encryption technology
How it works
1. Receiving the payment link
When users need to update their payment information, they receive a secure payment link. This link allows them to complete any pending payments using a credit or debit card. To create the payment link for enrollment, make sure to include the following fields:customer_payer.id: The ID of the previously generated customerone_time_use: Set this totrueto ensure the payment link can only be used oncevault_on_success: Set this totrueto enroll the credit card after a successful payment
2. Automatic enrollment
Once the payment is successfully completed through the link, Yuno automatically generates a newvaulted_token for the customer.
3. Continue charging
After obtaining thevaulted_token, you can proceed with your subscription schedule. Use the Get payment methods endpoint to access the customer’s payment methods.
For more information about creating and managing payment links, refer to the payment link API reference.