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.

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

{
    "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.