All webhook request and response information is logged in the API such as request headers, body, status code and response headers, body and status code. 

The first thing to check is if the webhook subscription is paused. Dwolla will systematically pause a subscription if we detect 400 consecutive failures attempting to POST to your subscribed webhook endpoint. 

An attempt is considered a failure if your server returned any statusCode >= 300.

To see if your webhook subscription is paused, you will need retrieve a list of your webhook subscriptions.

Sandbox - GET https://api-sandbox.dwolla.com/webhook-subscriptions/{id}
Production - GET https://api.dwolla.com/webhook-subscriptions/{id} 

Example Request and Response:

GET https://api-sandbox.dwolla.com/webhook-subscriptions/a8939854-a9bf-4152-aafc-1ceccbb8f369
Accept: application/vnd.dwolla.v1.hal+json
Authorization: Bearer pBA9fVDBEyYZCEsLf/wKehyh1RTpzjUj5KzIRfDi0wKTii7DqY
{
    "_links": {
        "self": {
            "href": "https://api-sandbox.dwolla.com/webhook-subscriptions/a8939854-a9bf-4152-aafc-1ceccbb8f369",
            "type": "application/vnd.dwolla.v1.hal+json",
            "resource-type": "webhook-subscription"
        },
        "webhooks": {
            "href": "https://api-sandbox.dwolla.com/webhook-subscriptions/a8939854-a9bf-4152-aafc-1ceccbb8f369/webhooks",
            "type": "application/vnd.dwolla.v1.hal+json",
            "resource-type": "webhook"
        }
    },
    "id": "a8939854-a9bf-4152-aafc-1ceccbb8f369",
    "url": "https://myDwollaWebhooks.herokuapp.com/1mg11hd1",
    "paused": true,
    "created": "2018-09-12T22:06:56.000Z"
}


To unpause your webhook subscription, you will need to update your webhook subscription and change the status to unpaused

Sandbox - POST https://api-sandbox.dwolla.com/webhook-subscriptions/{id}
Production - POST https://api-sandbox.dwolla.com/webhook-subscriptions/{id} 

Example Request and Response:

POST https://api-sandbox.dwolla.com/webhook-subscriptions/a8939854-a9bf-4152-aafc-1ceccbb8f369
Content-Type: application/vnd.dwolla.v1.hal+json
Accept: application/vnd.dwolla.v1.hal+json
Authorization: Bearer pBA9fVDBEyYZCEsLf/wKehyh1RTpzjUj5KzIRfDi0wKTii7DqY
{
    "paused": false
}

For more information on webhook subscriptions, visit our developer documentation. 

Did this answer your question?