#LordGrim

1 messages · Page 1 of 1 (latest)

sour flameBOT
supple parcel
#

What do you mean by "invoice along with the payment method details"? Can you give an example?

gloomy bridge
#

I want to get all the invoices of the customer along with the payment method (i.e card details) used in the respective invoice.
.
one way is to fetch all invoices, and then fetch the respective paymentIntent.
.
is there a way to avoid two API calls, and get it done in one single call?

supple parcel
#

I see. When you list all Invoices, you can expands its payment_intent.payment_method

gloomy bridge
#

this is not working.... not at least for list

#

is "expand" supported for lists?

fallen drum
#

is is yes

#

it's data.payment_intent.payment_method