# Document approval webhook not received in dwolla sandbox

**URL:** <https://discuss.dwolla.com/t/document-approval-webhook-not-received-in-dwolla-sandbox/9622>\
**Category:** Customers\
**Created:** [March 20, 2024, 7:43am UTC](https://discuss.dwolla.com/t/document-approval-webhook-not-received-in-dwolla-sandbox/9622 "2024-03-20T07:43:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rabin\_Dangol](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/rabin_dangol/32/4199_2.png) [@Rabin\_Dangol](https://discuss.dwolla.com/u/Rabin_Dangol)\
**Post date:** [March 20, 2024, 7:43am UTC](https://discuss.dwolla.com/t/document-approval-webhook-not-received-in-dwolla-sandbox/9622/1 "2024-03-20T07:43:25Z")

</div>

I have found that we do not receive customer and beneficial owner documents approved webhooks from dwolla in the Sandbox environment. We just received company-approved and BOs-approved webhooks. Is this behavior expected in the sandbox?

Will that also be the case in the production environment? Should we consider a customer approved in Dwolla when we receive customer approval even if we have not received approval for its documents?

---

<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 20, 2024, 1:39pm UTC](https://discuss.dwolla.com/t/document-approval-webhook-not-received-in-dwolla-sandbox/9622/2 "2024-03-20T13:39:01Z")

</div>

> [@Rabin\_Dangol](#):
>
> I have found that we do not receive customer and beneficial owner documents approved webhooks from dwolla in the Sandbox environment. We just received company-approved and BOs-approved webhooks. Is this behavior expected in the sandbox?

Hi @Rabin_Dangol , do you have the Customer Id for the user you were attempting to upload documents for in Sandbox? Were you uploading the test document [referenced in our docs](https://developers.dwolla.com/docs/balance/testing/customers#sample-document-approved-image)?

---

<div class="post-metadata">

**Author:** ![Rabin\_Dangol](https://sea2.discourse-cdn.com/dwolla/user_avatar/discuss.dwolla.com/rabin_dangol/32/4199_2.png) [@Rabin\_Dangol](https://discuss.dwolla.com/u/Rabin_Dangol)\
**Post date:** [March 21, 2024, 9:45am UTC](https://discuss.dwolla.com/t/document-approval-webhook-not-received-in-dwolla-sandbox/9622/3 "2024-03-21T09:45:02Z")

</div>

Hello Spencer,  
Below are Sanbox customer-ids

- 3a2cafe7-38e8-446b-a3d8-23bc2bef929e

- 62c00071-2caa-4d84-8699-b579601ee370

And yes we are uploading the test document referred to in the Dwolla documentation.

---

<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 21, 2024, 9:43pm UTC](https://discuss.dwolla.com/t/document-approval-webhook-not-received-in-dwolla-sandbox/9622/4 "2024-03-21T21:43:17Z")

</div>

Hi @Rabin_Dangol,

> [@Rabin\_Dangol](#):
>
> Should we consider a customer approved in Dwolla when we receive customer approval even if we have not received approval for its documents?

You can definitely consider a Customer as being verified as soon as you receive a `customer_verified` webhook, regardless of an uploaded document being approved, rejected or pending.

However, what seems to have happened in this case is as follows:

**For customer 3a2cafe7-38e8-446b-a3d8-23bc2bef929e**

- The customer went into `document` status
- A document was uploaded - ID eb29c13f-9186-4cc1-bb8d-401394af183f
- The document was approved and a **customer\_verification\_document\_approved** webhook was sent
- A **customer\_verified** webhook was sent
- A second document was uploaded, but since the customer was already verified, the document wasn’t reviewed

**For customer 62c00071-2caa-4d84-8699-b579601ee370**

- The customer went into `retry` status
- A document was uploaded which seemed to have pushed the customer into a `verified` status without needing a retry attempt ← looks like you ran into an edge case in Sandbox. This is not expected to happen in Production.
- A **customer-verified** webhook was sent, but no **customer\_verification\_document\_approved** was sent.

Hope this helps clarify things! Let us know if you have any questions!
