post https://api-sandbox.y.uno/v1/customers/sessions//payment-methods
This request enrolls a payment method for a customer. With the information provided by Yuno after the customer selects the payment method to enroll, you will be able to save it for future purchases in the payment method object created.
Note that this request requires an X-Idempotency-Key
. Check the Authentication.
Webhooks
We recommend listening to Webhooks to stay up to date to the state of the enrolled payment methods of your customers.
In case a customer enrolls the same card twice but with new expiration date or cardholder info, we will unenroll the previously enrolled card and keep the new one.