#jeb - expansion

1 messages · Page 1 of 1 (latest)

spiral pewter
#

Hi there. One moment

versed siren
#

so what would be the 'expand' header from get/v1/payment_intents/[intent] to get this balance_transaction object?

spiral pewter
#

You can try this out in test mode, but I think charges.data.balance_transaction. Not sure off the top of my head, but expansion may not work with lists (since charges.data is a list), but I recommend giving it a go

versed siren
#

charges.data.balance_transaction returns a string

#

of the balance_transaction id

spiral pewter
#

You passed expand in the request?

#

What API version are you using? And what client library?

versed siren
#

oh I see now

#

I passed it in the expand and its working, thank you