🇨🇴Special Stay Permit (PEP) ID

Service to check foreigners using the special residence permit.

Special Stay Permit (PEP) ID Data Retrieval

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

The Special Stay Permit (PEP) ID Data Retrieval service provides a streamlined solution for accessing verified information from PEP (Permiso Especial de Permanencia) identification cards in Colombia. This service simplifies the retrieval of authenticated PEP-related data, making it easier to conduct identity verification and ensure compliance with various regulations.

Implementation

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Query Parameters

Name
Type
¿Required?
Description
Example

documentNumber

String

True

Document number of the person to consult, without spaces or periods.

123456789

expeditionDate

String

True

Date when the document was generated.

10/10/2024

Request

import axios from 'axios';

const options = {
  method: 'GET',
  url: '<https://api.verifik.co/v2/co/foreigner-id/pep>',
  params: {expeditionDate: '10/10/2024', documentNumber: '123456789'},
    headers: {
    Accept: 'application/json',
    Authorization: 'jwt <tu_token>'
  }
};

try {
  const { data } = await axios.request(options);
  console.log(data);
} catch (error) {
  console.error(error);
}

Response

{
  "data": {
    "arrayName": [
      "MATEO",
      "VERIFIK"
    ],
    "documentNumber": "123456789012345",
    "documentType": "PEP",
    "expirationDate": "08/08/2018",
    "firstName": "MATEO",
    "fullName": "MATEO VERIFIK",
    "identification": "17609583",
    "lastName": "VERIFIK",
    "status": "VENCIDO"
  },
  "signature": {
    "dateTime": "August 22, 2023 8:02 PM",
    "message": "Certified by Verifik.co"
  },
  "id": "tnlkb"
}

Last updated