#Camille-wca
1 messages · Page 1 of 1 (latest)
I believe you're using the incorrect endpoint. You should use the PaymentMethods endpoint instead
https://stripe.com/docs/api/payment_methods/customer_list
/v1/customers/:customer/payment_methods
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I saw this endpoint was the recommended way to do this, but I would like to make as few changes as possible. And the one I use is still listed in the API documentation: https://stripe.com/docs/api/cards/list
or is it completely deprecated ?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
That endpoint is to allows support for older Sources API which the SetupIntent API doesn't use.
ok, thank you very much for the explanation !