OFAC ๋ฐฐ๊ฒฝ ์กฐํ
API ๋ ํผ๋ฐ์คโ
์๋ํฌ์ธํธโ
https://api.verifik.co/v2/ofac
documentType๊ณผ documentNumber, ๋๋ fullName์ ์ฌ์ฉํด ๋ฏธ๊ตญ ์ฌ๋ฌด๋ถ ํด์ธ์์ฐํต์ ์ค(OFAC)์ ํน๋ณ ์ง์ ๊ตญ์ ์(SDN) ๋ฐ ์ฐจ๋จ ๋์ ๋ช
๋จ์ ๊ฐ์ธ ๋๋ ๋ฒ์ธ์ด ํฌํจ๋๋์ง ํ์ธํฉ๋๋ค. ๊ฒฐ๊ณผ๋ ์ ์ฌ ์ปดํ๋ผ์ด์ธ์ค, ๋ฌด์ญ ๊ฒ์ฆ, KYC/AML ์ํฌํ๋ก์ฐ์ ํ์ฉํ ์ ์์ต๋๋ค.
์ฐธ๊ณ : ๋ ์ง(์ถ์์ผ ๋๋ ๋ฐ๊ธ์ผ)๋ dd/mm/yyyy ํ์์ด์ด์ผ ํฉ๋๋ค.
ํค๋(Headers)โ
| ์ด๋ฆ | ๊ฐ |
|---|---|
| Content-Type | application/json |
| Authorization | Bearer <token> |
๋งค๊ฐ๋ณ์(Parameters)โ
info
์ง์๋๋ ๋ฌธ์ ์ข ๋ฅ์ ์ ์ฒด ๋ชฉ๋ก๊ณผ ๊ฐ ์ข ๋ฅ๋ณ ํ์ ๋งค๊ฐ๋ณ์๋ Document Types ๊ฐ์ด๋๋ฅผ ์ฐธ๊ณ ํด ์ฃผ์ธ์.
| ์ด๋ฆ | ํ์ | ํ์ | ์ค๋ช |
|---|---|---|---|
documentType | string | ์๋์ค | ์กฐํํ ๋ฌธ์ ์ข ๋ฅ. |
documentNumber | string | ์๋์ค | ์กฐํํ ๋ฌธ์ ๋ฒํธ. ๊ณต๋ฐฑ์ด๋ ์ ์์ด ์ ๋ ฅํฉ๋๋ค. |
fullName | string | ์๋์ค | documentType๊ณผ documentNumber ๋์ ๊ฐ์ธ ๋๋ ๋ฒ์ธ์ ์ด๋ฆ์ ์ง์ ์ ๋ฌํ ์ ์์ต๋๋ค. |
ํ์ฉ ์ฌ๋กโ
- ์ ์ฌ ์ปดํ๋ผ์ด์ธ์ค: OFAC ์งํ ๋์์ธ ์ฐจ๋จ ๊ฑฐ๋ ์๋๋ฅผ ํํผํฉ๋๋ค.
- ์ํ ์ํ: ๋ฏธ๊ตญ ๋ฐ ๊ตญ์ ๋ฌด์ญ ๊ท์ ์๋ฐ ์ ๋ถ๊ณผ๋๋ ์ ์ฌ๋ฅผ ์ค์ ๋๋ค.
- KYC ๋ฐ AML: ์ํ, ๋ณดํ, ๋ถ๋์ฐ ๋ถ์ผ์ ๊ณ ๊ฐ ๊ฒ์ฆ์ ๊ฐํํฉ๋๋ค.
์์ฒญ(Request)โ
- JavaScript
- Python
- Swift
- PHP
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 {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
import http.client
conn = http.client.HTTPSConnection("api.verifik.co")
payload = ''
headers = {}
conn.request("GET", "/v2/ofac?fullName=Mateo%20Verifik", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
var request = URLRequest(url: URL(string: "https://api.verifik.co/v2/ofac?fullName=Mateo%20Verifik")!,timeoutInterval: Double.infinity)
request.httpMethod = "GET"
let task = URLSession.shared.dataTask(with: request) { data, response, error in
guard let data = data else {
print(String(describing: error))
return
}
print(String(data: data, encoding: .utf8)!)
}
task.resume()
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://api.verifik.co/v2/ofac?fullName=Mateo Verifik');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
'follow_redirects' => TRUE
));
try {
$response = $request->send();
if ($response->getStatus() == 200) {
echo $response->getBody();
}
else {
echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
$response->getReasonPhrase();
}
}
catch(HTTP_Request2_Exception $e) {
echo 'Error: ' . $e->getMessage();
}
์๋ต(Response)โ
- 200 (OFAC ๋ฏธ๋ฐ๊ฒฌ)
- 200 (OFAC ๋ฐ๊ฒฌ)
- 404
- 409 (๋งค๊ฐ๋ณ์ ๋๋ฝ)
- 409 (์๋ชป๋ ๋ฌธ์ ์ข ๋ฅ)
{
"data": {
"documentType": "CC",
"documentNumber": "80927603",
"fullName": "MATEO ANDRES VERIFIK",
"firstName": "MATEO ANDRES",
"lastName": "VERIFIK",
"arrayName": ["MATEO", "ANDRES", "VERIFIK"],
"foundInOFAC": false,
"details": {}
},
"signature": {
"dateTime": "June 27, 2025 4:33 PM",
"message": "Certified by Verifik.co"
},
"id": "U4RBQ"
}
{
"data": {
"documentType": "CURP",
"documentNumber": "VILJ580411HSLLRN09",
"fullName": "JUAN CARLOS VILLEGAS LOERA",
"firstName": "JUAN CARLOS",
"lastName": "VILLEGAS LOERA",
"arrayName": ["JUAN", "CARLOS", "VILLEGAS", "LOERA"],
"foundInOFAC": true,
"details": {
"fullLink": "https://sanctionssearch.ofac.treas.gov/Details.aspx?id=15785",
"type": "Individual",
"list": "SDN",
"lastName": "VILLEGAS LOERA",
"program": "SDNTK",
"firstName": "Juan Carlos",
"nationality": "",
"title": "",
"citizenship": "",
"dateOfBirth": "11 Apr 1958",
"placeOfBirth": "Culiacan, Sinaloa, Mexico",
"remarks": "(Linked To: BUENOS AIRES SERVICIOS, S.A. DE C.V.; Linked To: ESTACIONES DE SERVICIOS CANARIAS, S.A. DE C.V.; Linked To: GASODIESEL Y SERVICIOS ANCONA, S.A. DE C.V.; Linked To: GASOLINERA ALAMOS COUNTRY, S.A. DE C.V.; Linked To: GASOLINERA Y SERVICIOS VILLABONITA, S.A. DE C.V.; Linked To: PETROBARRANCOS, S.A. DE C.V.; Linked To: SERVICIOS CHULAVISTA, S.A. DE C.V.)",
"identifications": [
{
"type": "C.U.R.P.",
"idNumber": "VILJ580411HSLLRN09",
"country": "Mexico",
"issueDate": null,
"expireDate": null
}
],
"addresses": [
{
"address": "Calle Golfo de California No. 1635",
"city": "Culiacan",
"stateOrProvince": "Sinaloa",
"postalCode": "",
"country": "Mexico"
}
]
}
},
"signature": {
"dateTime": "June 27, 2025 4:48 PM",
"message": "Certified by Verifik.co"
},
"id": "1LMO7"
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "MissingParameter",
"message": "missing documentType\n. missing documentNumber\n"
}
{
"code": "MissingParameter",
"message": "documentType must be one of: [DNIAR]"
}
๋น๊ณ โ
- ์๋ต์๋
foundInOFAC๊ฐ๊ณผ, ์ผ์น ์ SDN ํญ๋ชฉ์ ๋ํfullLink๋ฑ OFAC ์์ธ ๋ฉํ๋ฐ์ดํฐ๊ฐ ํฌํจ๋ฉ๋๋ค.