#mattwiner
1 messages · Page 1 of 1 (latest)
You can use the expand parameter on the List API
But you need to specify data.charges because the object returned has the Payment Intents in an array with the key data
I was able to expand the charges and balance transactions in a PI list API call using this code (Python)
stripe.PaymentIntent.list(expand=["data.charges.data.balance_transaction"])
You need to include data whenever the object you are referencing is in an array
Ah ha! Got it. Thank you.