Step Completed: A

age-check

Step Completed

"step" : {
	"status" : 200, 
	"id" : "age-check", 
	"data" : {
		"age" : 28, 
		"ageThreshold" : 18, "underage" : false
	}, 
	"error" : null
}

Step Error

"step" : {
  "status" : 200, 
  "id" : "age-check", 
  "data" : {
    "age" : null, 
    "ageThreshold" : 18, 
    "underage" : null
  }, 
  "error" : {
    "type" : "StepError", 
    "code" : "underage.noDOB", 
    "message" : "The date of birth could not be obtained"
  }
}
"step" : {
    "status" : 200, 
    "id" : "age-check", 
    "data" : {
        "age" : 0, 
        "ageThreshold" : 18, 
        "underage" : true
    }, 
    "error" : {
        "type" : "StepError", 
        "code" : "underage.error", 
        "message" : "This user is currently underage"
    }
}
"step" : {
	"status" : 200, 
	"id" : "age-check", 
	"error" : {
		"type" : "StepError", 
		"code" : "input.failed", 
		"message" : "Cannot meet dependent input"
	}
}

alteration-detection

Step Completed

"step" : {
	"status" : 200, 
	"id" : "alteration-detection", 
	"error" : null
}

Step Error

"step" : {
	"status" : 200, 
	"id" : "alteration-detection", 
	"error" : {
		"type" : "StepError", 
		"code" : "alterationDetection.negligence", 
		"message" : "Document is considered as negligence",
    "reasonCode" : "blurred"
	},
  "documentType" : "passport"
}
"step" : {
	"status" : 200, 
	"id" : "alteration-detection", 
	"error" : {	
		"type" : "StepError", 
		"code" : "alterationDetection.fraudAttempt", 
		"message" : "Document is considered as fraud attempt",
    "reasonCode" : "screenshot"
	},
  "documentType" : "national-id"
}
"step" : {
	"status" : 200, 
	"id" : "alteration-detection", 
	"error" : {
		"type" : "StepError", 
		"code" : "alterationDetection.tampered", 
		"message" : "Document is considered tampered"
	}
}
"step" : {
	"status" : 200, 
	"id" : "alteration-detection", 
	"error" : {
		"type" : "StepError", 
		"code" : "input.failed", 
		"message" : "Cannot meet dependent input"
	}
}

📘

Possible reasonCode Values for Fraud and Negligence Errors

Both alterationDetection.fraudAttempt and alterationDetection.negligence have a reasonCode as part of the webhook response. The codes can be one of the following values:

reasonCodeDashboard Statement
digitalPhotoReplacementThe photo on the document has been digitally altered
fakeThe image is synthetic. The information on it is unreal.
textReplacementThe text on the document has been replaced with different information
manualPhotoReplacementThe photo on the document has been altered
differentFrontAndBackThe document front information or type does not match the back information or type
underageThe person on the document is underage
physicalObstructionThere is a physical obstruction that prevents to see the entire document
digitalObstructionThere is a digital obstruction that prevents to see the entire document
blurredThe image is blurred that hides information on the document
pixelatedThe image is pixelated that hides information on the document
screenPhotoThe image is a picture of a screen where the document is stored
grayscaleThe image is a black and white copy of the document
croppedThe document is cropped
distortedThe image is distorted making the quality of the image poor
sameImagesThe same image (front or back) was uploaded twice
colorCopyThe image is a color copy of the document
screenshotThe image is a screenshot
incorrectDocumentThe document uploaded is incorrect
noDocumentThere's no document on the picture

System Error

"step" : {
	"status" : 200, 
	"id" : "alteration-detection", 
	"error" : {
		"type" : "SystemError", 
		"code" : "system.internalError", 
		"message" : "Internal error"
	}
}
"step" : {
	"status" : 200, 
	"id" : "alteration-detection", 
	"error" : {
		"type" : "SystemError", 
		"code" : "system.internalError", 
		"message" : "Step timeout"
	}, 
  "documentType" : "national-id"
}

argentinian-afip-validation

Step Completed

"step" : {
	"status" : 200, 
	"id" : "argentinian-afip-validation", 
	"error" : null, 
	"data" : {
		"cuit" : "00000000000", 
		"fullName" : "DOE  JOHN
	}, 
	"documentType" : "national-id"
}

System Error

"step" : {
	"status" : 200, 
	"id" : "argentinian-afip-validation", 
	"error" : {
		"type" : "SystemError", 
		"code" : "system.internalError", 
		"message" : "Internal error"
	}, 
	"documentType" : "national-id"
}

argentinian-dni-validation

Step Completed

"step" : {
	"status" : 200, 
	"id" : "argentinian-dni-validation", 
	"error" : null, 
	"data" : {
		"documentNumber" : "01234567", 
		"emissionDate" : "YYYY-MM-DD"
	}
}

Step Error

"step" : {
	"status" : 200, 
	"id" : "argentinian-dni-validation", 
	"error" : {
		"type" : "StepError", 
		"code" : "argentinianDni.oldDocument", 
		"message" : "There is a newer document associated to this DNI"
	}, 
	"data" : {
		"documentNumber" : "01234567", 
		"emissionDate" : "YYYY-MM-DD"
	}
}
"step" : {
	"status" : 200, 
	"id" : "argentinian-dni-validation", 
	"error" : {
		"type" : "StepError", 
		"code" : "input.failed", 
		"message" : "Cannot meet dependent input"
	}
}
"step" : {
	"status" : 200, 
	"id" : "argentinian-dni-validation", 
	"error" : {
		"type" : "StepError", 
		"code" : "argentinianDni.notFound", 
		"message" : "The DNI provided was not found in the Renaper Database"
	}
}
"step" : {
	"status" : 200, 
	"id" : "argentinian-dni-validation", 
	"error" : {
		"type" : "StepError", 
		"code" : "argentinianDni.notValidParams", 
		"message" : "DNI is not defined"
	}
}
"step" : {
	"status" : 200, 
	"id" : "argentinian-dni-validation", 
	"error" : {
		"type" : "StepError", 
		"code" : "argentinianDni.notValidParams", 
		"message" : "Gender is not defined"
	}
}
"step" : {
	"status" : 200, 
	"id" : "argentinian-dni-validation", 
	"error" : {
		"type" : "StepError", 
		"code" : "argentinianDni.notValidParams", 
		"message" : "Emission Date is not defined"
	}
}
"step" : {
	"status" : 200, 
	"id" : "argentinian-dni-validation", 
	"error" : {
		"type" : "StepError", 
		"code" : "argentinianDni.notValidParams", 
		"message" : "Birth Date is not defined"
	}
}

System Error

"step" : {
	"status" : 200, 
	"id" : "argentinian-dni-validation", 
	"error" : {
		"type" : "SystemError", 
		"code" : "system.internalError", 
		"message" : "Internal error"
	}
}
"step" : {
	"status" : 200, 
	"id" : "argentinian-dni-validation", 
	"error" : {
		"type" : "SystemError", 
		"code" : "system.serviceUnavailable", 
		"message" : "Service unavailable"
  }
}

argentinian-renaper-facematch-validation

Step Completed

"step" : {
	"status" : 200, 
	"id" : "argentinian-renaper-facematch-validation", 
	"error" : null, 
	"data" : {
		"dniNumber" : "00000000", 
		"gender" : null, 
		"match" : true, 
		"score" : "77", 
		"name" : "JOHN", 
		"surname" : "DOE"
	}, 
	"documentType" : "national-id"
}
"step" : {
	"status" : 200, 
	"id" : "argentinian-renaper-facematch-validation", 
	"error" : null, 
	"data" : {
		"dniNumber" : "00000000", 
		"gender" : null, 
		"match" : true, 
		"score" : "42", 
		"name" : "JOHN
		"surname" : "DOE DOE
	}, 
	"documentType" : "national-id"
}
"step" : {
	"status" : 200, 
	"id" : "argentinian-renaper-facematch-validation", 
	"error" : null, 
	"data" : {
		"dniNumber" : "00000000", 
		"gender" : null, 
		"match" : true, 
		"score" : "88", 
		"name" : "JANE", 
		"surname" : "DOE"
	}, 
	"documentType" : "national-id"
}

Step Error

"step" : {
	"status" : 200, 
	"id" : "argentinian-renaper-facematch-validation", 
	"error" : {
	"type" : "StepError", 
	"code" : "node.failed", 
	"message" : "Cannot meet dependent node"
  }, 
	"documentType" : "national-id"
}
"step" : {
	"status" : 200, 
	"id" : "argentinian-renaper-facematch-validation", 
	"error" : {
		"type" : "StepError", 
		"code" : "argentinianRenaperFacematch.notEnoughParams", 
		"message" : "DNI is not defined"
	}, 
	"documentType" : "driving-license"
}
"step" : {
	"status" : 200, 
	"id" : "argentinian-renaper-facematch-validation", 
	"error" : {
		"type" : "StepError", 
		"code" : "argentinianRenaperFacematch.notEnoughParams", 
		"message" : "Gender is not defined"
	}, 
	"documentType" : "driving-license"
}
"step" : {
	"status" : 200, 
	"id" : "argentinian-renaper-facematch-validation", 
	"error" : {
		"type" : "StepError", 
		"code" : "argentinianRenaperFacematch.notEnoughParams", 
		"message" : "Selfie Photo is not defined"
	}, 
	"documentType" : "national-id"
}
"step" : {
	"status" : 200,
	"id" : "argentinian-renaper-facematch-validation", 
	"error" : {
		"type" : "StepError", 
		"code" : "argentinianRenaperFacematch.fullNameMismatch", 
		"message" : "The name in the document and the name in the Renaper database do not match"
	}, 
	"data" : {
		"dniNumber" : "00000000", 
		"gender" : null, 
		"match" : true, 
		"score" : "74", 
		"name" : "JOHN", 
		"surname" : "DOE"
	}, 
	"documentType" : "national-id"
}
"step" : {
	"status" : 200, 
	"id" : "argentinian-renaper-facematch-validation", 
	"error" : {
		"type" : "StepError", 
		"code" : "argentinianRenaperFacematch.faceMismatch", 
		"message" : "The face in the selfie does not match the photo present in Renaper records"
	}, 
	"data" : {
		"dniNumber" : "00000000", 
		"gender" : null, 
		"match" : false, 
		"score" : "", 
		"name" : "JOHN", 
		"surname" : "DOE"
	}, 
	"documentType" : "national-id"
}

System Error

"step" : {
	"status" : 200, 
	"id" : "argentinian-renaper-facematch-validation", 
	"error" : {
		"type" : "SystemError", 
		"code" : "system.internalError", 
		"message" : "Internal error"
	}, 
	"documentType" : "national-id"
}

argentinian-renaper-validation

Step Completed

"step" : {
	"status" : 200, 
	"id" : "argentinian-renaper-validation", 
	"error" : null, 
	"data" : {
		"dateOfBirth" : "YYYY-MM-DD", 
		"fullName" : "<FULL NAME>", 
		"dniNumber" : "01234567", 
		"cuit" : "01234567890", 
		"phoneNumbers" : [

		], 
		"deceased" : false
	}
}

Step Error

"step" : {
	"status" : 200, 
	"id" : "argentinian-renaper-validation", 
	"error" : {
		"type" : "StepError", 
		"code" : "argentinianRenaper.fullNameMismatch", 
		"message" : "The name of the user does not belong to this ID"
	}, 
	"data" : {
		"dateOfBirth" : "		YYYY-MM-DD", 
		"fullName" : "JOHN DOE", 
		"dniNumber" : "01234567", 
		"cuit" : "01234567890", 
		"phoneNumbers" : [

		], 
		"deceased" : false
	}
}
"step" : {
	"status" : 200, 
	"id" : "argentinian-renaper-validation", 
	"error" : {
		"type" : "StepError", 
		"code" : "argentinianRenaper.dniMismatch", 
		"message" : "The DNI provided was not found in the Renaper Database"
	}
}
"step" : {
	"status" : 200, 
	"id" : "argentinian-renaper-validation", 
	"error" : {
		"type" : "StepError", 
		"code" : "input.failed", 
		"message" : "Cannot meet dependent input"
	}
}
"step" : {
	"status" : 200, 
	"id" : "argentinian-renaper-validation", 
	"error" : {
		"type" : "StepError", 
		"code" : "argentinianRenaper.notValidParams", 
		"message" : "DNI is not defined"
	}
}
"step" : {
	"status" : 200, 
	"id" : "argentinian-renaper-validation", 
	"error" : {
		"type" : "StepError", 
		"code" : "argentinianRenaper.notValidParams", 
		"message" : "Birth Date is not defined"
	}, 
	"documentType" : "national-id"
}
"step" : {
	"status" : 200, 
	"id" : "argentinian-renaper-validation", 
	"error" : {
		"type" : "StepError", 
		"code" : "argentinianRenaper.notValidParams", 
		"message" : "Full Name is not defined"
	}
}

System Error

"step" : {
	"status" : 200, 
	"id" : "argentinian-renaper-validation", 
	"error" : {
		"type" : "SystemError", 
		"code" : "system.internalError", 
		"message" : "Internal error"
	}
}
"step" : {
	"status" : 200, 
	"id" : "argentinian-renaper-validation", 
	"error" : {
		"type" : "SystemError", 
		"code" : "system.serviceUnavailable", 
		"message" : "Service unavailable"
	}
}