Retrieving KYC Data via Callback

Step 1: Creating a GET Request to Retrieve KYC Data To retrieve KYC process data, you need to make a GET request to a specific URL. In this case, the URL will be as follows:

GET /api/external/v1/autokyc/verification/:token

This URL is provided when creating a KYC token and will be dynamic, associated with a specific KYC request.

Step 2: Passing Parameters in the GET Request To obtain accurate KYC data, you must pass the following parameters in the GET request:

  • token: The KYC token obtained when creating the KYC request.

  • status: The KYC status you want to retrieve. Typically, this can be "APPROVED" or "DECLINED."

  • user_id: The user identifier associated with the KYC request.

Step 3: Executing the GET Request Now that you have the URL and parameters, execute the GET request to the specified URL with the provided parameters. This request will provide information about the KYC process and its status.

Example Response to a GET Request: The example below is a response to a GET request with KYC process data:

{
  "success": true,
  "status": null,
  "response": {
    "status": "DECLINED",
    "callback_status": "SUCCESS",
    "user_id": "3947765377",
    "kyc_entity": {
      // Detailed information about the KYC process,
      // including status, user data, process stages, and additional details, is provided here.
    },
    "errors": null
  }
}

This response contains detailed information about the KYC process, including status, user data, process stages, and additional details. You can use this information to manage the KYC process in your application and process verification results.

This example illustrates how to retrieve KYC data via a callback notification and use it for further KYC process handling.

Last updated