API Reference

Sample Response

Sample Success Response :

{
    "is_success": true,
    "data": {
        	"question": "<The One Time Password is sent to Mobile Number 97413**** and Email ID abha****@onefin.in. Please enter the One Time Password>.",
          "question_key": "<5401984>",
        	"answer_key": "<USER_TO_INPUT_ANSWER>",
        	"answer_id": "<1622264>"
      },
     "stage": "<stage_choice>"
}

Sample Failure Response :

{
    "is_success": false,
    "error": {
        "message": "<message explaining the error>",
        "stage": "<stage_choice>"
    }
}

CIBIL Errors :

{
    "is_success": false,
    "error": {
        "message": "<message explaining the error>",
        "code": "report_pull_failed", 
        "details": {
            "cibil_error_code": "CIBIL Error Codes"
         }
     }
}