#slowgen-connect-webhooks

1 messages · Page 1 of 1 (latest)

high helm
#

If I listen for a payment_intent.succeeded event will that list all of them including connected account?
Not really though it depends a bit what you mean by that and how your integration is built.

There are 2 types of Webhook endpoints

  • Account webhook endpoints listen to events triggered on your own Stripe account
  • Connect webhook endpoints listen to events triggered on your connected accounts. Those come with the account property that is set to the id of the account the event is coming from

If you're a platform and using Destination charges, everything happens on your platform so everything is sent to your Account endpoint for charges/payments. If you use Direct charges, it happens on the connected accounts and that's sent to your Connect endpoint

Also is there any way to exclude some paymentintents e.g by setting a flag do_not_send_event? hope it makes sense
No that's not possible. You'll have to ignore those for example using metadata

slender kestrel
#

Cheers, we're using destination charges. Which event shall I listen for to see if payment has succeeded, they'll all be for charges on connected accounts

high helm
#

payment_intent.* events on your account