#hamid-sources
1 messages · Page 1 of 1 (latest)
The first method retrieves one source by ID, the second lists all sources for that customer
What version of stripe PHP are you susing?
i am using ruby on rails
basically asking coz
I am using this to retrieve bank_accounts of customer
stripe_bank_accounts = Stripe::Customer.list_sources(
stripe_customer.id,
{object: 'bank_account', limit: 50}
)
can i use same for sepa_debit?
will this work
stripe_customer.id,
{object: 'sepa_debit', limit: 50}
)```
It should do, have you tried it?
If you didn't get an error then your request succeeded, it's probably just that that customer doesn't have any sepa debit sources attached to it
I am not able to retrieve any source list against the customer
i have used for sepa_payment
I have customer and payment_method id
but getting resource back
e.g.
pm_1JZZ7qB9MHxVN54cykpKSWfO
cus_KE1AqP7rKiI9YX
this is the customer i created and added its sepa with the above pm
and charged as well
but not retrieving it in sources list
please guide