Sample structures of the E_KYC_CHECK API responses for Brazil CPF Verification (bra_gov_cpf).
GREEN
The following response example represents successful checks.
{
"checks": [
{
"answer": "GREEN",
"checkType": "E_KYC_CHECK",
"createdAt": "2024-03-21 11:39:23",
"id": "6fe0ec3b-c6d8-4c53-afc6-f33751dbf1c2",
"inputDoc": {
"idDocType": "TAX_PAYER_NUMBER_DOC",
"country": "BRA",
"number": "07244434529" // CPF
},
"extractedDoc": {
"firstName": "LUCAS OLIVEIRA", // Applicant complete name
"aliasName": "MARIA LURDES", // Mother name
"gender": "M",
"dob": "1991-01-15",
"placeOfBirth": "BRASILEIRA",
"additionalFields": [
{
"name": "registrationStatus",
"value": "Regular"
},
{
"name": "fatherName",
"value": "JOHN DOE"
}
]
},
"ekycCheckInfo": {
"externalFaceMatch": true,
"faceMatchAnswer": "GREEN",
"selfieImageId": 118005011, // Image ID of the submitted Liveness selfie
"faceMatchScore": 0.9491729928035084
}
}
]
}Response explained
The response represents a singleton list of checks.
Root variables
The root variables are the core Non-Doc check result data items. Some of them may include nested attributes and element fields.
| Field | Type | Description |
|---|---|---|
id | String | Unique identifier of the check. |
answer | String | Check answer:
|
inputDoc | Object | Represents the data used for the database check. |
checkType | String | Indicates that it is a E_KYC_CHECK check type. |
extractedDoc | Object | External check source data. It may not be present if the data is not received. |
createdAt | Date | Date and time (UTC) of the latest Non-Doc check result. |
ekycCheckInfo | Object | Represents face matching results. |
violations | Array of strings | Indicates violations that were found:
|
inputDoc attributes
inputDoc attributesThe following table explains the inputDoc attributes representing the data taken from the provided document.
| Field | Type | Description |
|---|---|---|
idDocType | String | Type of the document provided for verification. For example, TAX_PAYER_NUMBER_DOC, ID_CARD, PASSPORT, DRIVERS. |
country | String | Alpha-3 country code (for example, DEU, GBR, ARG). |
number | String | CPF number provided by the applicant. |
extractedDoc attributes
extractedDoc attributesThe extractedDoc object includes the data obtained from the external source during the E_KYC_CHECK check.
| Field | Type | Description |
|---|---|---|
country | String | Alpha-3 country code (for example, DEU, GBR, ARG). |
firstName | String | Applicant full name. |
aliasName | String | Full (complete) mother name. |
dob | Date | Applicant date of birth (format YYYY-mm-dd, for example, 2001-09-25) as it is specified in the document. |
placeOfBirth | String | Applicant place of birth. This can be a city, a town or another settlement type. There is no length limit for this field. |
gender | String | Gender of the applicant (M, F, or X). |
additionalFields | Array of objects | A collection of key-value pairs, representing additional information about the applicant. |
additionalFields element fields
additionalFields element fieldsAn array of key-value pairs providing non-standard additional information.
Example:
{
"name": "fatherName",
"value": "JOHN DOE"
}The following table explains some of the possible keys.
| Key | Value type | Value description |
|---|---|---|
registrationStatus | String | CPF number registration status:
|
fatherName | String | Full father name. |
ekycCheckInfo attributes
ekycCheckInfo attributes| Field | Type | Description |
|---|---|---|
externalFaceMatch | Boolean | Indicates that the face match verification is done using an external source. |
faceMatchAnswer | String | Face match verification results:
|
selfieImageId | Integer | Image ID of the submitted Liveness selfie. |
faceMatchScore | Double | Numerical confidence score of the face match result in the range from 0 to 1. Higher value indicates a higher probability of a match. |