connect middleware to verify dwolla webhook requests

npm install connect-dwolla-webhook
8 downloads in the last week
16 downloads in the last month


Build Status

When adding support for Dwolla's Webhooks, it's a good idea (read: MUST) to check the validity of the request to ensure that it's actually from Dwolla. This simple middleware for connect does just that.


var connect = require('connect'),
    connectDwolla = require('connect-dwolla-webhook');

var app = connect()
  .use(connectDwolla({ secret: 'my-dwolla-app-secret' }))
  .use(function(req, res){
    res.end('Hello Dwolla!\n');
npm loves you