🇨🇴 哥伦比亚 — PEP(特别居留许可)
端点
GET https://api.verifik.co/v2/co/foreigner-id/pep
在 query 中传入 documentNumber 与 expeditionDate(DD/MM/YYYY)。也可用 POST JSON 传入相同字段。
标头
| Name | Value |
|---|---|
| Accept | application/json |
| Authorization | Bearer <token> |
证件要求
适用对象: 持有 Permiso Especial de Permanencia(PEP)移民许可的哥伦比亚委内瑞拉国民 — 非 AML「政治公众人物」筛查(见 哥伦比亚 PEP(AML))。
| 字段 | 说明 |
|---|---|
documentNumber | PEP 许可号,仅数字。在哥伦比亚固定为 15 位。发送全部 15 位,无空格或标点。示例:123456789012345。 |
expeditionDate | 签发日期 DD/MM/YYYY(如 10/10/2024)。必填。 |
完整对照:身份证件指南。
参数
| name | type | required | description |
|---|---|---|---|
documentNumber | string | yes | PEP 许可号,仅数字。15 位(哥伦比亚固定长度)。示例:123456789012345。 |
expeditionDate | string | yes | 签发日期 DD/MM/YYYY(如 10/10/2024)。须与证件一致。 |
请求
- Node.js
- Python
import axios from "axios";
const { data } = await axios.get("https://api.verifik.co/v2/co/foreigner-id/pep", {
params: { documentNumber: "123456789", expeditionDate: "10/10/2024" },
headers: {
Accept: "application/json",
Authorization: `Bearer ${process.env.VERIFIK_TOKEN}`,
},
});
console.log(data);
import os, requests
url = "https://api.verifik.co/v2/co/foreigner-id/pep"
headers = {"Accept": "application/json", "Authorization": f"Bearer {os.getenv('VERIFIK_TOKEN')}"}
params = {"documentNumber": "123456789", "expeditionDate": "10/10/2024"}
r = requests.get(url, headers=headers, params=params)
print(r.json())
响应
- 200
- 404
- 409
{
"data": {
"documentType": "PEP",
"documentNumber": "123456789012345",
"status": "VIGENTE",
"fullName": "MATEO VERIFIK"
},
"signature": {
"message": "Certified by Verifik.co",
"dateTime": "August 22, 2023 8:02 PM"
},
"id": "tnlkb"
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "MissingParameter",
"message": "expeditionDate must be a valid date in DD/MM/YYYY format"
}
备注
- 日期格式为
DD/MM/YYYY。 GET与POST行为一致。