This section details how to pause a webhook subscription. When a webhook subscription is paused, Dwolla will continue to create webhooks but not send them to your subscribed webhook url. This is useful if your webhook endpoint is unavailable and you want to temporarily disable webhook requests.
POST https://api.dwolla.com/webhook-subscriptions/{id}
Parameter | Required | Type | Description |
---|---|---|---|
id | yes | string | Webhook unique identifier. |
paused | yes | boolean | Specify a value of true to pause the associated webhook subscription or false to unpause a paused subscription. |
// Using dwolla-v2 - https://github.com/Dwolla/dwolla-v2-node
var webhookSubscriptionUrl =
"https://api-sandbox.dwolla.com/webhook-subscriptions/692486f8-29f6-4516-a6a5-c69fd2ce854c";
var requestBody = {
paused: true,
};
dwolla.post(webhookSubscriptionUrl, requestBody).then((res) => res.body.paused); // => 'true'
Use sandbox environment to test API requests.
All funds transfers made using the Dwolla Platform are performed by a financial institution partner, and any funds held in a Dwolla Balance are held by a financial institution partner. Learn more about our financial institution partners.