Getting Status Changes Notifications Using Webhooks
Webhooks are automated message sent from an application when an event is triggered. In the Onfido dashboard, webhooks need to be defined allowing you to get notifications when the applicant document check and report are completed.
Only one webhook can be created for each client account in the Onfido dashboard.
In the Automation Blocks settings, if the setting key UseProcessorForCheck is set to true, a new record is created in the FTOS_OnfidoIntegration entity. In this entity, the following entities are attached:
-
FTOS_ONFIDO_CHECK: for document check that contains the Pending, Webhook Received, and Completed statuses. -
FTOS_ONFIDO_CHECKREPORT: for report check that stores the Pending, Webhook Received, and Completed statuses. It contains the raw response for each report that is received from Onfido.
When a new check is created, the default status is submitted. Then, the FTOS_Onfido_WebHook is called from DCS, the report is saved, and the status is changed to completed.