#vitali-payouts-connect
1 messages · Page 1 of 1 (latest)
hi! to clarify, this is for Connect right, like the payout of a connected account to their bank account? or something else?
for connect yes, but we are using destination charges
i need to get the stripe account id for the payout
like which account this payout is intended for
it's part of the event itself
https://stripe.com/docs/connect/webhooks#connect-webhooks i.e. you get an event from the connected account to your Connect endpoint, the event has an account field
will the payouts be on the connect endpoint? not the regular one?
well, both, it depends which payout you're interested in
e.g. for a Destination charge, say it's $100 and you transfer $90 to the connected account and keep $10. A while later, on your account you get a payout for $5(the 10 minus Stripe fees), and the connected account gets a payout for $90, those separately generate payout.paid events on your account(regular endpoint) and theirs(Connect endpoint)
see also https://stripe.com/docs/expand/use-cases#charges-in-payout which explicitly describes how to match the payout on the connected account to the incoming Destination charge