🇨🇴Comptroller Certificate
Service to generate a certificate of background from the comptroller's office using the identification document.
Comptroller Certificate
GET - https://api.verifik.co/v2/co/contraloria/certificado
The comptroller certificate service enables you to verify a certificate of good standing issued by the Colombian Comptroller's Office. By providing the document type and number, you can receive the search date and a base64-encoded PDF of the certificate. This service is ideal for quickly confirming the good standing status of a Colombian company or individual.
Implementation
Headers
Content-Type
application/json
Authorization
Bearer <token>
Query Parameters
documentType
String
True
Type of document. Valid parameters: CC, CE, PA, PEP.
CC
documentNumber
String
True
Document number of the person to consult, without spaces or points.
123456789
Request
import axios from 'axios';
const options = {
method: 'GET',
url: '<https://api.verifik.co/v2/co/contraloria/certificado>',
params: {documentType: 'CC', 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": {
"documentType": "CC",
"documentNumber": "1020729123",
"searchDate": "2022-03-22T15:37:23.487Z",
"pdfBase64": "data:application/pdf;base64,STRING_BASE_64"
},
"signature": {
"dateTime": "March 22, 2022 4:37 AM",
"message": "Certified by Verifik.co"
}
}
Last updated