#Student179-webhook-endpoint
1 messages · Page 1 of 1 (latest)
hello, not sure I understand
t I'm unable to find a way to spin up multiple webhooks for the same events with routing depending on their origin
what is "origin" here?
like you totally can send the same Event type to endpoint_1.com and endpoint_2.com
Sorry if the even triggering is coming from a user from endpoint_1.com is there a way to only send the event to that endpoint or do I send them to both and just discard it there?
sorry I still don't understand, the event would be sent to endpoint_1.com is what I mean
can you explain more in detail? I think we're not on the same page here
Sure sorry for the confusion. If I want to build in something like payment fulfillment using webhooks and we trigger the payment from a purchase against endpoint_1.com is there a way to make sure we only send the event for that to endpoint_1.com (potentially through something like differentiated api keys) or do we need to send the event to all endpoints that support that type of event and only return a successful 200 for the handling on endpoint_1.com.
ah gotcha, thanks for breaking that down
so
Webhook Events from your entire Stripe account are sent to all your Webhook Endpoints that are listening to those Event types.
There isn't a way to send evt_123 just to endpoint_1.com if that event occurred due to a payment at payme_1.com