#mike35x95x1-paymentintents
1 messages · Page 1 of 1 (latest)
hi! mostly it would just be listing any charges associated with the PaymentIntent and looking at the payment_method_details field on each one to get all the context.
https://stripe.com/docs/api/charges/list#list_charges-payment_intent
https://stripe.com/docs/api/charges/object#charge_object-payment_method_details
well, I am little lost. I can see only payment_method_options and payment_method. I can also see charges but the documentation says that data "...only contains the latest charge". BTW where I can find the payment_method_details node?
hmm
did you look at the two links I shared?
I can also see charges but the documentation says that data "...only contains the latest charge
that's why you use https://stripe.com/docs/api/charges/list#list_charges-payment_intent to get all them
BTW where I can find the payment_method_details node?
it's a property of the Charge object inside the list that you retrieve, https://stripe.com/docs/api/charges/object#charge_object-payment_method_details
of course, i checked them both but the documentation is a little bit complicated... 🙂
So if I need all ids of cards used to pay the paymentIntent I would need to read the list charges, right?
yes