🇨🇴 哥伦比亚 — PEP 查询(AML)
端点
GET https://api.verifik.co/v2/co/politically-exposed-persons
用于 AML 的**政治公众人物(PEP)**筛查。与移民类 PEP(特别居留许可)不同 — 见 哥伦比亚 PEP(特别居留)。
标头
| Name | Value |
|---|---|
| Accept | application/json |
| Authorization | Bearer <token> |
参数
| name | type | required | description |
|---|---|---|---|
documentType | string | yes | CC(个人)或 NIT(企业)。 |
documentNumber | string | yes | 无空格、无标点的号码。 |
请求
- Node.js
- Python
import axios from "axios";
const { data } = await axios.get("https://api.verifik.co/v2/co/politically-exposed-persons", {
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/politically-exposed-persons"
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": {
"documentType": "CC",
"documentNumber": "123456789",
"detail": []
},
"signature": {
"message": "Certified by Verifik.co",
"dateTime": "August 22, 2023 8:02 PM"
},
"id": "PEP001"
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "MissingParameter",
"message": "documentType must be one of: [CC, NIT]"
}
备注
- PEP(AML) 与移民类 PEP 不是同一服务。
documentType仅CC或NIT。