Live demo of agent247 on Digio's docs — click the orange button at the bottom right to start.

Webhook Integration

Before consuming the webhooks, you need to register your endpoint on the enterprise dashboard of Digio.

See the integration guide for steps on setting up the webhook on Digio Dashboard

Webhook Events for Digi Studio

EventEntityDescription
KYC_REQUEST_CREATEDKYC_REQUESTRaised when request is created
KYC_REQUEST_COMPLETEDKYC_REQUESTRaised when the user completed all actions and requested approval
KYC_REQUEST_REVIEW_READYKYC_REQUESTDigio Processing is done and the request is ready to be reviewed with all analysis results. Eg: Facematch, Central DB checks and additional offline validations
KYC_REQUEST_APPROVEDKYC_REQUESTRaised when Kyc-Admin has approved request or it has been auto approved by system based on rules configured by corporate
KYC_REQUEST_REJECTEDKYC_REQUESTRaised when Kyc-Admin has rejected a request.
KYC_REQUEST_TERMINATEDKYC_REQUESTRaised when termination of kyc-request occurs due to failure in meeting certain conditions
KYC_REQUEST_EXPIREDKYC_REQUESTRaised when Kyc-Request has expired without completion by user in specified expiry days.
KYC_ACTION_COMPLETEDKYC_ACTIONRaised on completion of an Action
KYC_ACTION_CREATEDKYC_ACTIONRaised when a new action is created in case of re-request of a particular action by Kyc-Admin
KYC_ACTION_REJECTEDKYC_ACTIONRaised when a action is re-request by Kyc-Admin
DOCUMENTS_PULLED_SUCCESSFULLYDIGILOCKER_REQUESTWhen all Documents fetch is successful
DOCUMENTS_PULLED_PARTIALLYDIGILOCKER_REQUESTRaised when any document is fetched but the request is yet to complete. Event payload contains a list of fetched documents.

Sample Webhook Entities with Payload

Based on Webhook event, their status and event name changes

  • KYC_REQUEST

    {
       "entities":["KYC_REQUEST"],
       "payload":{
          "KYC_REQUEST":{
             "id":"KID",
             "status":"Status Value [REQUESTED/COMPLETED/APPROVED/REJECTED/EXPIRED]",
             "reference_id":"CRN",
             "transaction_id":"TXN"
          }
       },
      "id": "WHN1____",
      "created_at": 1528370034000,
      "event": "{event_name}"
    }
    
  • KYC_ACTION

    {
        "entities":["KYC_ACTION","KYC_REQUEST"],
        "payload":{
            "KYC_REQUEST":{
                "id":"KID",
                "status":"Status Value",
                "reference_id":"CRN",
                "transaction_id":"TXN"
            },
            "KYC_ACTION":{
                "id":"KIA",
                "status":"Status Value",
                "type":"type",
                "acton_ref":"action_ref"
            }
        },
        "id": "WHN1____",
        "created_at": 1528370034000,
        "event": "{event_name}"
    }
    
  • DIGILOCKER_REQUEST

    {
        "entities": [
            "DIGILOCKER_REQUEST"
        ],
        "payload": {
            "DIGILOCKER_REQUEST": {
                "id": "RID____",
                "customer_name": "{name}",
                "customer_identifier": "{email/mobile}",
                "kyc_request_id": "KID2____",
                "reference_id": "crn",
                "transaction_id": "txn",
                "state": "COMPLETED/PARTIALLY_COMPLETED",
                "shared_documents": ["AADHAAR"]
            }
        },
        "id": "WHN1____",
        "created_at": 1528370034000,
        "event": "{event_name}"
    }
    

Reference

For more detailed steps on setting up the webhook and reference for the same

See Webhook Guide

Was this page helpful?