Political Exposed Persons
Description​
Screening service that checks whether an individual or company — identified by CURP or RFC — appears on national and international Politically Exposed Persons (PEP) lists, sanction and restrictive lists, and the SAT 69 / 69-B fiscal lists. The search is performed by CURP or by RFC.
HTTP method POST​
Endpoint​
https://api.msla-id.com/experience-background-pep-api-v1/api/idv-govcheck/v1/mx-identity/peps
For testing purposes, use the base domain: apidev.msla-id.com
Before proceeding, make sure you have your jwt token, if you don't, check the login documentation.
Request header parameter​
| NAME | REQUIRED | TYPE | DESCRIPTION |
|---|---|---|---|
| Authorization | ✅ | string | bearer jwt token |
Body request (JSON)​
The screening accepts a single search key: either curp or rfc. Exactly one of the two must be present — sending both, returns an error.
| NAME | REQUIRED | TYPE | DESCRIPTION |
|---|---|---|---|
| curp | Required if rfc is not sent | string | CURP (18 characters). Search by CURP. |
| rfc | Required if curp is not sent | string | RFC — individual (13 characters) or company (12 characters). Search by RFC. |
Accepted combinations
| Body | Result |
|---|---|
curp | Valid — search by CURP |
rfc | Valid — search by RFC |
curp and rfc together | 400 IDV-3001 |
neither curp nor rfc | 400 IDV-3001 |
- Search by CURP
- Search by RFC
{
"curp": "PEPJ800101HDFRRN09"
}
{
"rfc": "XAXX010101000"
}
Status code responses​
| Code | Description |
|---|---|
| 200 | OK. Returns data.resultCount and data.results. |
| 400 | IDV-3001 Bad request - Invalid or incomplete input data |
| 401 | Unauthorized |
| 404 | IDV-1002 Data not found |
| 500 | IDV-1008 Internal server error |
| 504 | IDV-1100 Gateway timeout |
The full documentation error codes can be found here.
A screening with no matches is a 200 response with data.resultCount = 0 and an empty data.results array. It is not an HTTP 404.
Response 200 status code​
{
"traceId": "123456789010101",
"timestamp": "yyyy-mm-dd HH:MM:SS",
"data": {
"validationCode": "bl1788324399.0171921",
"resultCount": 1,
"results": [
{
"fullName": "JUAN PEREZ LOPEZ",
"list": "Personas Politicamente Expuestas Nacionales",
"listType": "ppe",
"similarity": 100,
"curp": null,
"taxId": "XAXX010101000",
"active": true,
"country": "MX",
"address": "CHIAPAS, MEXICO",
"agency": "Tesorero Municipal",
"alias": "CONTADOR DEL RAMO 33"
}
]
}
}
Response fields​
| FIELD | TYPE | DESCRIPTION |
|---|---|---|
data.validationCode | string | Unique identifier of the query. Keep it for traceability. |
data.resultCount | integer | Total number of matches. 0 means results is empty. |
data.results[].fullName | string | Name of the person or entity found. |
data.results[].list | string | List where the match was found. |
data.results[].listType | string | List category, as reported by the source (e.g. ppe). |
data.results[].similarity | integer | Match similarity percentage. |
data.results[].curp | string | null | Reported CURP when available. |
data.results[].taxId | string | null | Reported RFC or tax identifier when available. |
data.results[].active | boolean | Whether the record is reported as active in the source. |
data.results[].country | string | null | Country associated with the result. |
data.results[].address | string | null | Reported address or location when available. |
data.results[].agency | string | null | Agency, institution or related position when available. |
data.results[].alias | string | null | Alias or additional description when available. |
Response 400 status code​
{
"traceId": "542fc743fffda052",
"timestamp": "yyyy-mm-dd HH:MM:SS",
"code": "IDV-3001",
"message": "Bad request - Invalid or incomplete input data",
"data": null
}
Response 401 status code​
{
"timestamp": "YYYY-MM-DDTHH:mm:ss.sssZ",
"status": 401,
"error": "Unauthorized",
"path": "/api/idv-govcheck/v1/mx-identity/peps"
}
Response 404 status code​
{
"traceId": "43a20f33d4e8730d",
"timestamp": "yyyy-mm-dd HH:MM:SS",
"code": "IDV-1002",
"message": "Data not found."
}
Response 500 status code​
{
"traceId": "43a20f33d4e8730d",
"timestamp": "yyyy-mm-dd HH:MM:SS",
"code": "IDV-1008",
"message": "Error in the source of origin, please contact an administration.",
"data": null
}
Response 504 status code​
{
"traceId": "43a20f33d4e8730d",
"timestamp": "yyyy-mm-dd HH:MM:SS",
"code": "IDV-1100",
"message": "Gateway Timeout",
"data": null
}