#vincent-Expansion
1 messages · Page 1 of 1 (latest)
You'd expand data.balance_transaction using https://stripe.com/docs/api/expanding_objects
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
That's correct. Anything beyond that you need to make a new API call. In this case you'd retrieve the BalanceTransaction by its id. https://stripe.com/docs/api/balance_transactions/retrieve
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I already to that ",'expand' => ['data.charges.data.balance_transaction']"
inside this i got the refund object that containt the "balance transaction" that i want to expand
Correct, once you've expanded four levels, you need to make a retrieve or list call again. You can't expand past 4.
so i have to make another api cal
correct