#beef_bowl-payout-retrieve
1 messages · Page 1 of 1 (latest)
yep, via the api
is this with Automatic Payouts? or Manual?
automatic payouts
yeah so this is a bit involved:
You need to look up the BalanceTransaction on the Charge. That has an available_on property representing the timestamp when the Charge's funds would be available to be paid out.
You take that timestamp and list Payouts on that connected account, using the arrival_date[lte] param and passing the available_on timestamp
The Payout that was paid first after that available_on timestamp would be the Payout that had that Charge: https://stripe.com/docs/api/payouts/list
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.