# Escrow release webhook not working

**URL:** https://community.rapyd.net/t/escrow-release-webhook-not-working/1392
**Category:** ⚙️ API
**Tags:** open-discussion
**Created:** [January 20, 2022, 10:06pm UTC](https://community.rapyd.net/t/escrow-release-webhook-not-working/1392 "2022-01-20T22:06:40Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Diego\_Aguirre](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/diego_aguirre/32/1458_2.png) [@Diego\_Aguirre](https://community.rapyd.net/u/Diego_Aguirre)
#### Post date: [January 20, 2022, 10:06pm UTC](https://community.rapyd.net/t/escrow-release-webhook-not-working/1392/1 "2022-01-20T22:06:40Z")

</div>

Hello,  
I have been using rapyd webhooks (Payment Completed and Payment Created) and all works correctly. But when i am trying to listen the webook for Escrow Payment Released it seems like it doesnt trigger anything. Does anyone has a problem with this too? Thank you in advance

---

<div class="post-metadata">

### Author: ![Community\_Team](https://avatars.discourse-cdn.com/v4/letter/c/46a35a/32.png) [@Community\_Team](https://community.rapyd.net/u/Community_Team)
#### Post date: [January 24, 2022, 10:03pm UTC](https://community.rapyd.net/t/escrow-release-webhook-not-working/1392/2 "2022-01-24T22:03:53Z")

</div>

Thanks @Diego_Aguirre. Just to confirm you have completed the payment and now doing [Release Funds from Escrow](https://docs.rapyd.net/build-with-rapyd/reference/escrow-object#release-funds-from-escrow) and not getting the webhook?

Also to confirm, you have selected Escrow Payment Release webhook in [Client Portal](https://dashboard.rapyd.net/login)?

 ![escrow-payment-release-webhook](https://us1.discourse-cdn.com/flex016/uploads/rapyd/original/2X/e/e3f6bcb1633dac23979c89a55a5f0ae7bfcf3ca0.png)

---

<div class="post-metadata">

### Author: ![Legato](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/legato/32/41_2.png) [@Legato](https://community.rapyd.net/u/Legato)
#### Post date: [January 26, 2022, 8:19am UTC](https://community.rapyd.net/t/escrow-release-webhook-not-working/1392/3 "2022-01-26T08:19:29Z")

</div>

Hi,  
Try a 1 day escrow, and then wait a day to see if the webhook is sent. I have done the same in the sandbox, and got the webhook:

```auto
{
    "id": "wh_b473c6f1951ec25c39386b3082191615",
    "type": "ESCROW_RELEASED",
    "data": {
        "id": "escrow_c4bf71c0c0366a8dd3ef645a790afc28",
        "status": "released",
        "payment": "payment_a7c86f319a37fc8d47f448fc22fe37b3",
        "created_at": 1643022290,
        "updated_at": 1643130049,
        "amount_on_hold": 0,
        "escrow_releases": {
            "url": "/v1/payments/payment_a7c86f319a37fc8d47f448fc22fe37b3/escrows/escrow_c4bf71c0c0366a8dd3ef645a790afc28/escrow_releases",
            "data": [{
                    "id": "er_dd575b71d810eeeb85ee2914d686243e",
                    "amount": 110.45,
                    "trigger": "time",
                    "ewallets": [{
                            "amount": 110.45,
                            "ewallet": "ewallet_f0b6e8a05a4e6ad33360e846bd581821"
                        }
                    ],
                    "created_at": 1643130049,
                    "proportional_release": true
                }
            ],
            "has_more": false,
            "total_count": 1
        },
        "escrow_release_days": 1,
        "total_amount_released": 110.45,
        "last_payment_completion": 1643022290
    },
    "trigger_operation_id": "108e69b3-0f91-4df0-bfc8-ed83d545233d",
    "status": "NEW",
    "created_at": 1643130049
}

```

Thanks

---

<div class="post-metadata">

### Author: ![Diego\_Aguirre](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/diego_aguirre/32/1458_2.png) [@Diego\_Aguirre](https://community.rapyd.net/u/Diego_Aguirre)
#### Post date: [January 28, 2022, 5:01pm UTC](https://community.rapyd.net/t/escrow-release-webhook-not-working/1392/4 "2022-01-28T17:01:17Z")

</div>

Hello, thank you for answer my question.

I have recorded a video of the steps I am doing in the sandbox. This is the url:

> **[vokoscreen-2022-01-28\_11-52-11.mkv](https://drive.google.com/file/d/1Bb2FfVZv6Fj2MxOgIWO_kuD-LJUsFOf1/view?usp=sharing)**
>
> Google Drive file.

Am I doing something wrong? I have the webhook activated  
or maybe is the webhook only sent when the escrow has expired?

> **[webhooks-rapyd.jpg](https://drive.google.com/file/d/1HpAYWfNI2LHNqEOhMKak2mGq1VmivFWc/view?usp=sharing)**
>
> Google Drive file.

Thank you in advance

---

<div class="post-metadata">

### Author: ![Legato](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/legato/32/41_2.png) [@Legato](https://community.rapyd.net/u/Legato)
#### Post date: [February 2, 2022, 5:51pm UTC](https://community.rapyd.net/t/escrow-release-webhook-not-working/1392/5 "2022-02-02T17:51:27Z")

</div>

Hi Diego Aguirre,  
I’ve inspected your attachments and your workflow seems fine. As you can see in the [Escrow object](https://docs.rapyd.net/build-with-rapyd/reference/escrow-object) page, there are a number of values for the `trigger` field:

- event - This value is provided when the escrow is released via an  
API, and therefore, a webhook seems redundant since the operation was manually done by the client.
- time - Funds were automatically released at 5:00 p.m. GMT (17:00 GMT) on the day indicated in the request. In this scenario, a webhook is needed and is sent as demonstrated in my previous reply in this thread.

I will see to it that our documentation reflects this behavior.

Hope this helps.

---

<div class="post-metadata">

### Author: ![Diego\_Aguirre](https://sea2.discourse-cdn.com/flex016/user_avatar/community.rapyd.net/diego_aguirre/32/1458_2.png) [@Diego\_Aguirre](https://community.rapyd.net/u/Diego_Aguirre)
#### Post date: [February 3, 2022, 3:25pm UTC](https://community.rapyd.net/t/escrow-release-webhook-not-working/1392/6 "2022-02-03T15:25:12Z")

</div>

Oh, You are right. It is redundant in the first case.  
And also I didnt try it when an escrow is released because of expiration time so i just thought that is was not working. But now it is clear for me.

Thank you so much for your help!
