> ## Documentation Index
> Fetch the complete documentation index at: https://docs.debitdirect.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

Web events also referred to as webhooks or callbacks, are notifications sent from us to any webhooks address you subscribe to. As we process data, web events notify you on the change of events occuring on our platform.

```bash theme={null}
curl -X POST 'https://api.debitdirect.io/merchants/webhooks/subscribe \
    -H 'Content-Type: application/json' \
    -d '{
        "webhookUrl" : "https://webhook.site/6f19155a-5920-44c5-89d6-4551dcfebe96" }'
```

# Example of payload

```json theme={null}
{
    "objectType" : "mandate"
    , "eventType" : "registration"
    , "timeStamp" : "2022-03-03T03:02:00.0Z"
    , "data" : "..."
}
```

There are different types of event. In the following you will learn about mandate events.
