#beef_bowl-payout-retrieve

1 messages · Page 1 of 1 (latest)

long thunder
#

hello, do you mean programatically via the API?

#

or just via the Dashboard

odd flint
#

yep, via the api

long thunder
#

is this with Automatic Payouts? or Manual?

odd flint
#

automatic payouts

long thunder
#

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