# Dwolla Web Hook For Mass Payment

**URL:** <https://discuss.dwolla.com/t/dwolla-web-hook-for-mass-payment/7910>\
**Category:** API Support\
**Created:** [March 16, 2022, 8:23am UTC](https://discuss.dwolla.com/t/dwolla-web-hook-for-mass-payment/7910 "2022-03-16T08:23:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Usman\_Tahir](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/usman_tahir/32/3356_2.png) [@Usman\_Tahir](https://discuss.dwolla.com/u/Usman_Tahir)\
**Post date:** [March 16, 2022, 8:23am UTC](https://discuss.dwolla.com/t/dwolla-web-hook-for-mass-payment/7910/1 "2022-03-16T08:23:01Z")

</div>

Hi Everyone,

I am using the dwolla postman Api for everything and after the mass payment i want to create a web hook that will provide me the information regarding the mass payment status and everything comes with the web hook.

But I am unable to understand what is the flow for that like there are events and webhook can you please let me what is the way to create a webhook for a mass payment “mass\_payment\_completed”.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![shreya](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/shreya/32/2154_2.png) [@shreya](https://discuss.dwolla.com/u/shreya)\
**Post date:** [March 16, 2022, 8:17pm UTC](https://discuss.dwolla.com/t/dwolla-web-hook-for-mass-payment/7910/2 "2022-03-16T20:17:56Z")

</div>

Hi @Usman_Tahir – there isn’t a way to subscribe to a subset of webhooks. Once you subscribe to Dwolla webhooks, we send webhook requests to your server for every action/event that occurs in your Dwolla application.

Here are some helpful resources regarding Dwolla webhooks:

- Complete list of all possible events in Dwolla - [API Reference | Events](https://developers.dwolla.com/api-reference/events)
- Step-by-step guide in getting you set up with a webhook-subscription and handling webhooks- [Webhooks | Dwolla API Documentation](https://developers.dwolla.com/guides/webhooks)

Hope that helps! Let us know if you come any questions!

---

<div class="post-metadata">

**Author:** ![Usman\_Tahir](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/usman_tahir/32/3356_2.png) [@Usman\_Tahir](https://discuss.dwolla.com/u/Usman_Tahir)\
**Post date:** [March 18, 2022, 10:12am UTC](https://discuss.dwolla.com/t/dwolla-web-hook-for-mass-payment/7910/3 "2022-03-18T10:12:48Z")

</div>

Hi @shreya - Thanks for the answer.

I have created a webhook and the id of the webhook is “e2865d8c-9427-4a88-8e20-153885dc499f” I have a url set to get the webhook I am only testing mass payment but not getting anything from the webhook there is no error as well can you please check and let me know what’s wrong with it.

---

<div class="post-metadata">

**Author:** ![spencer](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/spencer/32/2143_2.png) [@spencer](https://discuss.dwolla.com/u/spencer)\
**Post date:** [March 18, 2022, 6:44pm UTC](https://discuss.dwolla.com/t/dwolla-web-hook-for-mass-payment/7910/4 "2022-03-18T18:44:32Z")

</div>

Hi @Usman_Tahir , I’m showing the `customer_mass_payment_created` webhook was sent at: `2022-03-18T09:54:17.380Z`. Please let us know if we can provide any additional info that will be helpful in debugging!

---

<div class="post-metadata">

**Author:** ![Usman\_Tahir](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/usman_tahir/32/3356_2.png) [@Usman\_Tahir](https://discuss.dwolla.com/u/Usman_Tahir)\
**Post date:** [March 21, 2022, 5:33pm UTC](https://discuss.dwolla.com/t/dwolla-web-hook-for-mass-payment/7910/5 "2022-03-21T17:33:31Z")

</div>

Hi @spencer

Hope you are doing well.

I have successfully got the dwolla webhook result into my database. But I am little confused about the result that I am getting. Let me post the result over here and let you know what confuses me. My scenario is that I have to get individual customer “customer\_transfer\_completed” and according to that mass payment that i just created and need to store the status.

“{“id”:“f5f293c4-a3e1-420e-9359-c875cbaa83ce”,  
“resourceId”:“e27dbce3-13a9-ec11-813f-d8831e3bd798”,  
“topic”:“customer\_transfer\_completed”,  
“timestamp”:“2022-03-21T16:14:16.372Z”,  
“\_links”:{“self”:{“href”:“[https://api-sandbox.dwolla.com/events/f5f293c4-a3e1-420e-9359-c875cbaa83ce](https://api-sandbox.dwolla.com/events/f5f293c4-a3e1-420e-9359-c875cbaa83ce)”},  
“account”:{“href”:“[https://api-sandbox.dwolla.com/accounts/f98700ee-ea29-4f61-8042-9f69cdbbbad9](https://api-sandbox.dwolla.com/accounts/f98700ee-ea29-4f61-8042-9f69cdbbbad9)”},  
“resource”:{“href”:“[https://api-sandbox.dwolla.com/transfers/e27dbce3-13a9-ec11-813f-d8831e3bd798](https://api-sandbox.dwolla.com/transfers/e27dbce3-13a9-ec11-813f-d8831e3bd798)”},  
“customer”:{“href”:“[https://api-sandbox.dwolla.com/customers/df7c061e-8fd3-4355-b388-cb8d0593c9e0](https://api-sandbox.dwolla.com/customers/df7c061e-8fd3-4355-b388-cb8d0593c9e0)”}},  
“created”:“2022-03-21T16:14:16.372Z”}”

This is the result that I need to work with but this result doesn’t show against which mass payment i am getting this result how will i save this without mass payment id or compare it with mass payment.

Please guide me on this.

---

<div class="post-metadata">

**Author:** ![shreya](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/shreya/32/2154_2.png) [@shreya](https://discuss.dwolla.com/u/shreya)\
**Post date:** [March 30, 2022, 3:41pm UTC](https://discuss.dwolla.com/t/dwolla-web-hook-for-mass-payment/7910/6 "2022-03-30T15:41:08Z")

</div>

Hi @Usman_Tahir –

When a masspayment job completes, it will have created individual transfers for each of the successful items in the masspay. We recommend parsing through the masspayment items and finding which items were successful and which ones failed.

For the failed items, you can try correcting the issue and re-initiating one off transfers for just those items.

For the ones that were successful, they will create individual transfer resources. We recommend storing these transfer IDs in your database to match it with the transfer-related webhooks that will follow (as shown in your webhook example above).

The transfer related webhook itself or the transfer resource do not have an indication of which masspayment they belong to. Although, we have logged this down as a feedback item for our Product team to consider!

Hope that helps! You may also check out this post for information - [Mass Payments - Pay 5,000 People in Five Simple Steps](https://discuss.dwolla.com/t/mass-payments-pay-5-000-people-in-five-simple-steps/5281)
