This service provides a simple way to check if a person or entity appears on the U.S. Department of the Treasury’s Office of Foreign Assets Control (OFAC) Specially Designated Nationals (SDN) and Blocked Persons List. By using this service, you can verify whether the individual or entity is subject to sanctions or restrictions enforced by OFAC.
Parameters
Name |
Type |
Required? |
Description |
Example |
documentType |
String |
True |
Document type. Allowed value: CC, NIT. |
CC |
documentNumber |
String |
True |
Document number of the person to consult. |
123456789 |
Implementation
Request
import axios from 'axios';
const options = {
method: 'GET',
url: '<https://api.verifik.co/v2/ofac>',
params: {documentType: 'CC', documentNumber: '80251972'},
headers: {
Accept: 'application/json',
Authorization: 'jwt <tu_token>'
}
};
try {
notFou const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
Response 200 - (Successful Response)
{
"data": [
{
"nombres": "CASTRO GARZON RICARDO",
"direccion": "c/o CASTRO CURE Y CIA. S.C.S.",
"tipo": "Individual",
"programas": "SDNT",
"listas": "SDN",
"puntaje": " "
}
],
"signature": {
"dateTime": "March 3, 2022 12:11 PM",
"message": "Certified by Verifik.co"
}
}
Other response
|
Code |
Description |
Response Body |
404 |
Not Found |
Not Found |
{ |
"code": "NotFound", |
|
|
|
"message": "Record not found.", |
|
|
|
"signature": { |
|
|
|
"dateTime": "August 31, 2022 3:24 PM", |
|
|
|
"message": "Certified by Verifik.co" |
|
|
|
} |
|
|
|
} |
|
|
|
409 |
Conflict |
Missing params |
{ |
"code": "MissingParameter", |
|
|
|
"message": "missing documentType\n. missing documentNumber\n" |
|
|
|
} |
|
|
|
409 |
Conflict |
Invalid documentType for this request |
{ |
"code": "MissingParameter", |
|
|
|
"message": "documentType must be one of: [DNIAR]" |
|
|
|
} |
|
|
|