#toxi-customer-paymentmethod
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Are these users, customer objects? If so, you can integrate customer portal to allow them to update their payment methods
Yes, they are customers, can I integrate the customer portal to my application?
Yup ๐
Not sure I completely understand, what docs for customer object?
If you're asking about customer portal then the link I shared above should help you with the docs
I mean the documentation to make users as customer object
Sorry I am confused, you said you were creating customer objects for your users already??
We have an example here that shows how you can create a customer object using the API
https://stripe.com/docs/payments/save-and-reuse?platform=web#create-customer
is there another way aside from the customer portal?
That's the only prebuilt UI that we offer at the moment. Otherwise, you'd need to build your own UI using our APIs. We don't have any specific docs around that flow unfortunately.
ok, is there anywhere I can check the API?
You can use this API endpoint to list existing PaymentMethods of a customer
https://stripe.com/docs/api/payment_methods/customer_list
You can use detach PaymentMethods API endpoint to remove a PaymentMethod from customer
https://stripe.com/docs/api/payment_methods/detach
You can use SetupIntents API to collect new PaymentMethods
https://stripe.com/docs/api/setup_intents
Thanks, I'll check them out
๐