#invite4ever
1 messages · Page 1 of 1 (latest)
That Customer object has no attached Sources, and is instead using the (newer) Payment Methods API/objects. This is the API you want: 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.
how to know which payment method for what payment was used. We are using webhooks. For e.g can i retrieve payment_method when using invoice.paid webhook?
The invoice.paid event won't include the payment details used to pay an invoice. They're set on the related Payment Intent instead
You can look them up via the Invoice object, but would require an additional API call in your invoid.paid webhook handler
Thank you, for your help. Should be enough info for my task.