#VanessaD
1 messages · Page 1 of 1 (latest)
Hi there, you can call https://stripe.com/docs/api/payment_methods/customer_list?lang=ruby#list_customer_payment_methods and see if the list is empty before deciding whether attach a payment_method to a customer.
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