Failed webhooks retry

I want to check if any webhooks have failed every day at midnight and then trigger those webhooks.
I can see that we can do this manually in Dwolla dashboard, but I want to write a cron which will run daily at midnight and trigger all the failed webhooks only. How can I do this ? Please note that I want to retrieve only failed webhooks and trigger them one-by-one using api.

Hi @IshanM – if you’re planning on doing this via the API, the perhaps you could do the following -

Step 1: List all webhooks for a subscription filtered by startDate and endDate. ?
Step 2: Page through each webhook resource in the embedded list to extract the response body. If the statusCode is not equal to or greater than 2xx, then you can retry it.

Hope that helps!