#chrisisskits-connect-webhooks

1 messages · Page 1 of 1 (latest)

noble lark
#

hello, no Connect webhook endpoints receive events from all Connected accounts on your platform

What is the use-case here that you want to separate webhook events?

glad oyster
#

Basically I’m building e-commerce stores for multiple clients, each client has there own instance of my “store” and handles its own orders and payments. Wanted to use a web hook to “confirm” orders upon successful payment without having a centralised system for all payments, would just be a lot less infra strain to have each clients instance handle and confirm it’s own payments

noble lark
#

yeah with Connect, the approach is that you have one webhook endpoint that receives all your events. So you wouldn't have multiple instances of Connect endpoints, just the one on the Platform to receive events from all Connect accts

#

the alternative is that you register an "Account" webhook endpoint on each account. That only receives events happening on that particular Stripe account.

glad oyster
#

How do you register an account webhook on each connected account?

noble lark
#

I had thought you could via the API but my colleague corrected me that you cannot

so assuming these are Standard Connect accounts, you'd have to create "Account" webhook endpoints using each of their Dashboards

glad oyster
#

Right - I assume this is not possible with express accounts?

noble lark
#

oh these are Express accounts

#

then no, and the right approach would be to create 1 Connect webhook endpoint only

#

it sounds like you're using the Direct Charges fund flow here? on the Express accounts

#

cause that is not the recommended fund flow for Express accounts

#

since they don't have a full Dashboard so cannot do account owners cannot respond to payments themsevles like refunds or disputes

glad oyster
#

I’ll need to double check that - they’ll defo need refund capabilities on their end

noble lark
#

just to clarify

#

what I meant is, you as a Platform can build UI to allow Express accounts to refund charges

#

but unlike Standard Connect accounts, Express account owners can't manage Refund/Dispute flows right from their Dashboard, they have a really limited dashboard

glad oyster
#

Ahh yes that makes sense, I’ll handle it from my platform ui

#

Thanks for your help - this discord is a god send