#db-webhook-types
1 messages · Page 1 of 1 (latest)
Hello db1900, we'll be with you shortly! Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
• db-connect-webhook, 2 days ago, 10 messages
db-webhook-types
@torn dew There are 2 types of webhook endpoints:
AccountWebhookEndpoints listens to Events on your account and only those.ConnectWebhookEndpoints listens to Events on connected accounts and only those.
right
and so if we had those 2 webhook endpoints listening to the same event (e.g. payout.paid) could we expect both of them to be atomic?
I don't get what "atomic" means in this context sorry.
But each would get completely different Events since they listen for different accounts
"atomic" meaning that if one event is triggered in one account then it would also get triggered in the other account?
that's not really what atomic means usually
You have a platform acct_A with 2 connected accounts acct_C1 and acct_C2
If you have any object on acct_A only the Account webhook endpoint will get those Events
If you have any object on acct_C1 or acct_C2 only the Connect webhook endpoint will get those Events
hmmm
so an event like payout.paid would mean different things depending on the Account type?
I'm sorry, you seem completely lost with Connect right now and I'm not sure how to word it differently yet
You're a platform. You have connected accounts, each representing different entities. Each are a separate Stripe account with their own activity (information about the business, bank account on file, funds received, etc.)
A Payout represents money leaving a Stripe account's balance and going outside of Stripe to the account's bank account. A Payout happens on the Stripe account where the funds are paid out.
So if you as a platform make money and want to pay out the funds you will get po_123456 in your platform account and the funds are sent to your bank account. So the Account webhook endpoint will get payout.paid
Now if acct_C1 sold some cookies and has funds in their Stripe account (resulting from Destination Charges) then they also will get a Payout po_ABCDEF and that will trigger a payout.paid Event. And your platform will receive their Event on its Connect webhook endpoint
hmm
okay i think im getting clarity
so i guess the answer to my question is that an event like payout.paid means the same thing ("money from Stripe account to accounts bank account") but the key difference is the "who"; meaning the entity that is being paid out is different. Am I making sense?
yes
@torn dew anything else I can help with?
no, i think that helps for now. thank you.