#Yuvraj Srinivas
1 messages · Page 1 of 1 (latest)
You can list all payment methods by customer, unforutnatley there is not a version of the endpoint that does that without a customer ID https://stripe.com/docs/api/payment_methods/customer_list
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thanks @olive quest , Also Does this imply - we always need to have a customer for listing payment methods?
I can check in to that. I thought there was some way of listing unattached payment methods. Can you tell me more about what you are trying to do here?
We are trying to build & host custom payment screens to capture payment and will be using stripe API's for the backend operations
Gotcha, and specifically for this listing of payment methods, can you tell me about the end goal there?
Currently just to list down available payment methods in that region - with the end goal of applying business rules between stripe and UI layer
Gotcha, unfortunately it looks like we don't have an endpoint for listing unatached payment methods. I think you will either need to create a customer to attach them to or you will need to store the IDs of these payment methods as you get events related to their payments being completed