Webhooks with Transfer

(Justin Thomas) #1

Hi there,

I’m working on integrating Dwolla with an application I’m building. I have the transfer mechanism working and fired off a test transfer last night that seemed to go okay. I set up a webhook subscription prior to initiating the transfer and expected to see some sort of activity, but did not. I’m trying to figure out what I’m missing.

The webhook subscription:

The transfer that should have triggered some sort of “transfer_created” or “bank_transfer_created”:

Right now, my endpoint (Sinatra) should just print out the body of the POST that’s received:

post '/dwolla-webhook' do
  puts "WEBHOOK: #{request.body.read}"
  redirect '/home'

I tested with my own POST request and see the data I’d expect. I haven’t seen anything from Dwolla, however.

Thanks in advance for any advice you can provide.


(Spencer Hunter) #2

Hi @justindthomas, Sorry for the delay in response. A couple things you can check. 1) If you fetch your list of webhooks fired, you can see if there are any attempts to your subscribed url. 2) double check to see if your app has a valid refresh token issued for the account you wish to receive webhook notifications for.