๐จ๐ด ์ฝ๋กฌ๋น์ โ PEP ์กฐํ(AML)
์๋ํฌ์ธํธโ
GET https://api.verifik.co/v2/co/politically-exposed-persons
AML/๊ท์ ์ฉ ์ ์น์ ๋ ธ์ถ ์ธ๋ฌผ(PEP) ์กฐํ์ ๋๋ค. ์ด๋ฏผ PEP(ํน๋ณ ์ฒด๋ฅ ํ๊ฐ)์ ๋ค๋ฆ ๋๋ค โ ์ฝ๋กฌ๋น์ PEP(ํน๋ณ ์ฒด๋ฅ) ์ฐธ๊ณ .
ํค๋(Headers)โ
| Name | Value |
|---|---|
| Accept | application/json |
| Authorization | Bearer <token> |
๋งค๊ฐ๋ณ์(Parameters)โ
| name | type | required | description |
|---|---|---|---|
documentType | string | yes | CC(๊ฐ์ธ) ๋๋ NIT(๋ฒ์ธ). |
documentNumber | string | yes | ๊ณต๋ฐฑยท๊ตฌ๋์ ์๋ ๋ฒํธ. |
์์ฒญ(Request)โ
- 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())
์๋ต(Response)โ
- 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]"
}
์ฐธ๊ณ (Notes)โ
- PEP(AML) ๊ณผ ์ด๋ฏผ PEP ๋ช ์นญ์ด ๊ฒน์น ์ ์์ต๋๋ค.
documentType์CC๋๋NIT๋ง ํ์ฉ๋ฉ๋๋ค.