Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Table of Contents
minLevel1
maxLevel7

...

ℹ️ About webhooks

Webhooks enable Ondato to send you real-time notifications about changes in the status if your recourses. These are POST requests to your server that are sent as soon as the event occurs. The body of the request contains resource information.

...

🔐 Security

Ondato uses HTTPS to send these notifications as a JSON payload.

...

🛒 Ordering

Ondato deliver events asynchronically. Therefore, you might receive them out of order and handle them accordingly.

...

📫 Webhook IP

...

Addresses

All webhook requests will come from the following IPs:

...

Please make sure that these IPs are whitelisted in order to receive webhook notifications.

...

🔃 Retry Logic

Upon sending a webhook notification, we are waiting for a success response for 30 seconds. Otherwise, if your endpoint does not respond, the webhook is queued for retry. We use an exponential backoff retry policy for event delivery. The attempt to resend the notifications is according to the following schedule on a best effort basis:

...

When Event Grid can't deliver an event within a certain time period or after trying to deliver the event a certain number of times the event is dropped.

...

How to start receiving webhooks?

To start receiving event notifications into your application you need to go through the following steps:

...

Please note that we also support multiple URLs for sending webhooks.

...

😶‍🌫️ Requirements for webhook endpoint

...

Property

Description

Id

Webhook ID.

ApplicationId

Internal ID that identifies you in Ondato system.

CreatedUtc

Date and time when webhook was generated.

DeliveredUtc

Date and time when webhook was delivered.

IsDelivered

Status of the webhook if it was delivered or not. Possible values are true/ false.

Payload

Depending on the webhpook type property, the payload always returns the same information you could obtain from the GET endpoint of the recourse. E.g. of the webhook type is KycIdentification.<<event>> then payload will contain information you could retrieve from KYC ID endpoint GET /v1/identifications/{id} .

Type

Type of the webook. It contains of two parts:

  • Recourse, e.g. KycIdentification.

  • Event, e.g. Created.

...

🪄 Events

You can configure the following events to trigger a message to registered webhooks:

...