#RicoSwann
1 messages ยท Page 1 of 1 (latest)
Hi ๐
You want to know what Customers or Accounts are associated with the Payout?
Yes. I need to get the Stripe Account Id.
I should say the AccountId of the Connect Account, not the main account.
How are you getting the payout data?
Via webhooks.
Can you share a webhook event ID? They start with evt_
I don't have a specific one...I'm writing the system right now, so I'm trying to figure out how that would be accomplished.
Okay so this is a Connect webhook event,
Yess
The Event object itself will include the Account property if it is for a Connect Account
It's not though, because we're using the "Custom Account" approach, which doesn't include that
What event are you referring to?
The Event object for the event payout.paid on all Connect Accounts should include the account parameter on the Event object
Payout.Created
But the others as well like Payout.Paid
They all return a payout object. But the payout object doesn't include the account Id.
Can you share an event ID/
?
I'm not talking about the payout object
Just the Event object
No, as I mentioned, I'm trying to figure out how to code this. I don't have any events yet.
With most of the Custom Account flow events, the events come from the primary account, not the Connect Account. But I guess it's possible that because the payout is coming from the Connect Account, it will have the account metadata included. I'll try that and see if it works.
A payout for a Connect Account occurs on that Account and will have the account parameter
OK, perfect, that's what I needed, thanks
Happy to help ๐