#xythantiops-customer-sources

1 messages · Page 1 of 1 (latest)

dusk marshBOT
astral ore
bronze abyss
#

Ok

astral ore
#

xythantiops-customer-sources

bronze abyss
#

What endpoint or method do you recommend for retrieving sources or whatever the replacement for them are?

astral ore
#

The sources property on Customers is no longer included by default. You can expand the list but for performance reasons we recommended against doing so unless needed.
that's what the docs I linked you to explicitly say. Does that make sense? Like what are you really trying to do? It's hard to say without a clear understanding of what your goal is. "sources" were deprecated back in 2018, so while it still works, most newer integrations (from the past 4+ years) would never need this

bronze abyss
#

Yes, we are working on replacing Stripe code written pre-2018 that had used sources to verify that a customer had payment information. I think we will either use default source from GET Customers or or I see that there is a newer GET PaymentMethod endpoint. Or we may we reconsider how this code is operating

astral ore
#

using the List PaymentMethods API would definitely be more future proof

bronze abyss
#

Ok, cool. Expand may be a good temporary solution before we migrate over to list PaymentMethods

#

Thank you very much for your help