#NewtReyes-Connect-Webhook
1 messages · Page 1 of 1 (latest)
Hi there! You use https://stripe.com/docs/api/events/retrieve and pass the Stripe Account Header (see: https://stripe.com/docs/connect/authentication)
Hey, bismarck
Ok
That worked
What if I want to retrieve all failed webhooks for different connect accounts?
Is there some way to do that using our platform account secret?
We would like to bulk resend some failed webhooks
https://stripe.com/docs/api/events/list should do it
There is a delivery_success param
But you can only retrieve from 30 days ago
That's OK
the problem is that when I try to retrieve the account updated failed events, it returns empty although I can see some failed yesterday
Are you passing the Stripe Account header?
Nope
Then you are just attempting to list from your own account so empty makes sense.
You can't list all Connected events in one request
You must list per-Connected Account
So you would need to loop through your accounts here
But if I pass the Stripe Account header, then I only get the ones from that Account
Ex.
But what I want is all the failed ones from different account like what I see in the dashboard
Is there any way to get that list?
No that's not possible
You have to list per account
There is no way to just retrieve all failed Connect Webhooks
ok