🇵🇪Peruvian Foreigner Resident

Service to query Peruvian foreigner resident using their ID issued in Peru.

Peruvian foreigner resident ID

GET - https://api.verifik.co/v2/pe/foreigner-id/ce

The Peruvian ID Verification service allows you to verify the identity of an individual in Peru by their DNI (Documento Nacional de Identidad) number. The service returns the full name and other related information of the individual, along with a signature to certify the authenticity of the response.

Implementation

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Query Parameters

Name
Type
Required
Description
Example

dateOfBirth

String

True

the date of birth of the document owner.

16/08/1993

documentNumber

String

True

Document number of the person to be queried.

123456789

Request

const axios = require('axios');

let config = {
  method: 'get',
  maxBodyLength: Infinity,
  url: 'https://app.verifik.co/v2/pe/foreigner-id/ce?documentNumber=005015372&dateOfBirth=16/08/1993',
  headers: { 
    'Authorization': '••••••'
  }
};

axios.request(config)
.then((response) => {
  console.log(JSON.stringify(response.data));
})
.catch((error) => {
  console.log(error);
});

Response

{
    "data": {
        "arrayName": [
            "CORDERO",
            "SANCHEZ",
            "ANA",
            "RENE"
        ],
        "dateOfBirth": "16/08/1993",
        "documentNumber": "005015372",
        "firstName": "ANA RENE",
        "foreignerIdExpiration": "12/08/2025",
        "foreignerIdLastIssuance": "12/08/2021",
        "fullName": "ANA RENE CORDERO SANCHEZ",
        "immigrationStatus": "HUMANITARIA",
        "lastName": "CORDERO CAMPERO",
        "nationality": "VENEZOLANA",
        "residenceExpiration": "26/02/2025"
    },
    "signature": {
        "dateTime": "November 6, 2024 3:22 PM",
        "message": "Certified by Verifik.co"
    },
    "id": "K0MMA"
}

Last updated