Webhooks
When a new event is created, and there is an active webhook subscription, a new webhook is created in order to deliver that event. Attempted deliveries are recorded under the webhook’s attempts
property. Each attempt includes the recorded request and response of the delivery attempt. Webhooks are sent asynchronously and are not guaranteed to be delivered in order. We recommend that applications protect against duplicated events by making event processing idempotent.
Webhook resource
Parameter | Description |
---|
id | Webhook unique identifier |
topic | Webhook topic that denotes the type of action that occurred with Dwolla |
accountId | Account associated with the webhook notification |
eventId | Event id for this webhook |
subscriptionId | Webhook subscription id for this event |
attempts | Array of attempt JSON object |
Attempts JSON object
Parameter | Description |
---|
id | Unique id of webhook delivery attempt. |
request | Request JSON object |
response | Response JSON object |
Request/response JSON object
Parameter | Description |
---|
created | ISO-8601 timestamp |
url | URL where data was sent to/received from |
headers | Array of objects with keys name and value representative of HTTP headers |
body | An Event for the webhook |