Credit Verification
The following documentation explains how to integrate with the Credit Check Verification API. This API is used to perform Credit Check verification for candidates.
API Endpoint
Endpoint URL:  POST https://api.staging.trential.app/verification/api/1.0/bgv/diy
Request
To perform credit check verification, send a POST request to the above endpoint with the following JSON payload:
{
  "data": {
    "pan": "XXXXXXX",
    "document": {
      "url": "Pan File Url"
    },
    "permanentAddress": {
      "pincode": "122001",
      "country": "India",
      "district": "GURUGRAM",
      "state": "HARYANA",
      "vtc": "Gurgaon Division",
      "line1": "XXX, sector XX"
    }
  },
  "verificationName": "bgv-cibil",
  "transactionId": "67eb967bb4710778ca292746"
}
Parameters
- pan (String): The candidate's Pan Number(Required)
 - document (Document): The candidate's Pan File Url, can upload using file upload API(Required)
 - permanentAddress (Object): The candidate's Permanent Address(Required)
 - verificationName (string): Name of verification Accepted value:- 
bgv-cibil(Required) - transactionId (string): Id you get in the add candidate api response(Required)
 
Response
If the data is valid, the response will be as follows:
{
  "code": 0,
  "message": "Success"
}