#weretaco-expand

1 messages · Page 1 of 1 (latest)

sharp dirge
keen spear
#

docs don't show an account id on the payout, so i need to figure out the source

sharp dirge
#

I don't fully grasp the context. Are you a platform? Is this a webhook sent to your Connect webhook endpoint

keen spear
#

we have a platform account with multiple custom connect accounts for our locations. trying to trigger some logic so when a payout webhook comes from the connected account I can grab it's source transactions to balance application vs stripe fees but it doesn't look like the payout lists the connect_accounts id for it's auto deposit

#

related example from the docs

sharp dirge
#

Okay so when you have a Connect webhook endpoint, when you receive the event it has the account property

keen spear
#

ok, so i need to setup a connect webhook endpoint then which will then have an id associated i can refer back to

sharp dirge
#

You have one platform account and it has many connected accounts. You have one webhook endpoint, and that endpoint gets events from all connected accounts. And all events will have the account property with the id of the right connected account

keen spear
#

i'd need to have this checked on the webhook setup i assume?

sharp dirge
#

yes, but I expect that you know/do that since you told me it's about connected accounts

keen spear
#

yup

#

thanks