#Mcsky.payout-charges
1 messages · Page 1 of 1 (latest)
Hey! You'll likely need to use the expand parameter when requesting the Payout object: https://stripe.com/docs/expand/use-cases#charges-in-payout
There's additional Connect detail on there too
Oh thanks ^^' I try it !
Which field of the payout should I expand to list the payments ?
Did you read the doc? Because I mistyped! You'll need to make an additional request for the balance transactions in the payout
There you can get the charges
This thread has been archived. If you need help with anything else please ask in #dev-help or contact Stripe Support: https://support.stripe.com/contact
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
@wild light did you have another question?
Hey toby, thanks for re-opening this thread. Yep ^^ How can I retrieve the payout id from a call to balance_transactions with theses query params filters ? I'm also using Stripe-Account header
@wild light You wouldn't. You'd use use payout parameter to list all balance transactions for that specific payout: https://stripe.com/docs/api/balance_transactions/list#balance_transaction_list-payout
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
hummm ok I got it. This feature will make a lot of http calls, I hope it won't be slow. Thanks for your help @supple marsh
If you have the payout ID (po_xxx) then it'll just be a single call if you utilise expand