stripe-perl
stripe-perl copied to clipboard
add methods for native object expansion
per an IRC chat with stripe engineers:
That's an old endpoint that we don't recommend anymore. Instead you'd retrieve the Customer directly and expand the list of sources on that object https://stripe.com/docs/api/customers/object#customer_object-sources
although he later came back to recommending the '/v1/customers/:id/sources' endpoint, it seems like a pretty big deficiency, and hopefully a pretty simple fix, to allow native object expansion through the SDK.