I want to save customer's card details and use them for future usage. I am asking the users to enter the card details, For that I am creating a customer on stripe, then creating a setup intent using stripe.setupIntents.create(). and I have created stripe elements using stripe.elements() Now I want to save the card, so which method or api is used to save the card-details on stripe?
I have gone throgh the docs but coul not find a proper way Can anyody tell me what to do next?