Webhooks

Webhooks, once configured, allow you to send content to your applications when the event being monitored is triggered.

Usage Policy

Whenever a webhook fails to send data to the desired notification URL, or if a session timeout occurs, the webhook will attempt to retry.

The webhook will retry a maximum of 6 times before giving up:

  • 1st attempt: 4 seconds
  • 2nd attempt: 8 seconds
  • 3rd attempt: 16 seconds
  • 4th attempt: 32 seconds
  • 5th attempt: 64 seconds
  • 6th (final) attempt: 128 seconds

For a total of 4 minutes and 12 seconds. 

We save each attempt and its status in the database.

Event List

KYC:CREATE

When a KYC file is created

{
  "eventType": "KYC:CREATE",
  "payload": {
    "clientid": "",
    "userid": "",
    "data": "37" // fileid
  }
}

KYC:UPDATE

When a KYC file is updated

{
  "eventType": "KYC:UPDATE",
  "payload": {
    "clientid": "",
    "userid": "",
    "data": "37" // fileid
  }
}

KYC:UPDATE:SCORE

When a KYC file's score has changed

{
  "eventType": "KYC:UPDATE:SCORE",
  "payload": {
    "clientid": "",
    "userid": "",
    "data": "37" // fileid
  }
}

PROFILER:RUN

When the profiler calculates a KYC file

{
  "eventType": "PROFILER:RUN",
  "payload": {
    "clientid": "",
    "userid": "",
    "data": "37" // fileid
  }
}

Was this article helpful?