---
title: Webhooks
slug: webhooks
description: Learn how subscription status works within MYFUNDBOX
image: https://archbee-image-uploads.s3.amazonaws.com/HtD8bx0TmXiyJa9NvV54o/wQRPfTTXaLmroX2w7cMUM_previewmfb.png
docTags: 
createdAt: 2021-02-26T10:59:51.000Z
---

### Learn how subscription status works within MYFUNDBOX

Video tutorial to configure webhooks endpoint URL:

::embed[]{url="https://www.youtube.com/watch?v=ZZcrD4TPgcM"}

### Succeeded

When the organization ID & subscriber E-mail address matches perfectly, the subscription is active and the status will be displayed as given below:

`Input`

:::hint{type="success"}
https\://subscription.myfundbox.com/webhook?orgid=1313\&subscriberId=test\@myfundbox.com



Replace Org Id = "Your MYFUNDBOX Company ID" & subscriber Id = "Your Subscriber MYFUNDBOX  E-mail Address"
:::

`Output`

```json
{
    "name":"Jerry",
    "username":"Jerry.Mastermann@test.de",
    "telephone":"132564641651321",
    "amount":"10,00",
    "currency":"GBP",
    "start_date":"2020-01-22",
    "end_date":"",
    "lastpayment_date":"",
    "created_date":"2020-01-22",
    "status":"active",
    "description":"user exists With an active subscription"
    
    }
```

### Failure

When there is no records or organization ID & subscriber E-mail address doesn't match, then the subscription is inactive and the status will be displayed as given below

<u>`Input`</u>

:::hint{type="danger"}
## https\://subscription.myfundbox.com/webhook?orgid=1313\&subscriberId=test\@abc.com


Replace OrgId = "Your MYFUNDBOX Company ID" & subscriberId = "Your Subscriber MYFUNDBOX  E-mail Address"
:::

`Output`

```json
{
    "status":"Inactive",
    "description":"user does not exists"
 }
```

