🇨🇴 Colombie — Consultation PEP (AML)
Point d'accès
GET https://api.verifik.co/v2/co/politically-exposed-persons
Dépistage AML des PPE (personnes politiquement exposées). Ce n’est pas le permis de séjour PEP — voir Colombie — PEP (séjour).
En-têtes
| Name | Value |
|---|---|
| Accept | application/json |
| Authorization | Bearer <token> |
Paramètres
| name | type | required | description |
|---|---|---|---|
documentType | string | yes | CC (personne) ou NIT (entreprise). |
documentNumber | string | yes | Numéro sans espaces ni ponctuation. |
Requête
- 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())
Réponse
- 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]"
}
Remarques
- PEP (AML) ≠ permis de séjour PEP (voir lien ci-dessus).
documentType:CCouNITuniquement.