哥伦比亚公民身份核验
Verifik 身份核验 API 可对接哥伦比亚官方记录,核验 CC(国民身份证)或 PPT(临时保护许可),简化 KYC 与合规流程。
此 API 验证哪些内容?
- 姓名与证件号:CC 或 PPT(本端点不支持 CE,请使用专用 CE 文档)。
- 证件状态:对照民事登记等官方来源。
- 身份匹配:确认返回信息与所查证件号一致。
API 参考
端点
GET https://api.verifik.co/v2/co/cedula
亦可通过 POST 提交相同字段。GET https://verifik.app/v2/co/cedula 为同一路径。
标头
| Name | Value |
|---|---|
| Accept | application/json |
| Authorization | Bearer <token> |
参数
| name | type | required | description |
|---|---|---|---|
documentType | string | yes | CC 或 PPT(非 NIT)。 |
documentNumber | string | yes | 5–10 位字符,不含空格或句点。 |
请求
- Node.js
- Python
import axios from "axios";
const { data } = await axios.get("https://api.verifik.co/v2/co/cedula", {
params: { documentType: "CC", documentNumber: "123456789" },
headers: {
Accept: "application/json",
Authorization: `Bearer ${process.env.VERIFIK_TOKEN}`,
},
});
console.log(data);
import os, requests
url = "https://api.verifik.co/v2/co/cedula"
headers = {"Accept": "application/json", "Authorization": f"Bearer {os.getenv('VERIFIK_TOKEN')}"}
params = {"documentType": "CC", "documentNumber": "123456789"}
r = requests.get(url, headers=headers, params=params)
print(r.json())
响应
- 200
- 404
- 409
{
"data": {
"arrayName": ["JULIO", "CESAR", "CABANA", "CONTRERAS"],
"documentNumber": "1121329662",
"documentType": "CC",
"firstName": "JULIO CESAR",
"fullName": "JULIO CESAR CABANA CONTRERAS",
"lastName": "CABANA CONTRERAS"
},
"signature": {
"dateTime": "October 8, 2025 8:21 PM",
"message": "Certified by Verifik.co"
},
"id": "I70IL"
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "MissingParameter",
"message": "missing documentType\n"
}
备注
documentType=CC:国民身份证;PPT:临时保护许可。- 扩展字段(签发日、性别等)请使用 国民身份证(扩展)。