Skip to main content

๐Ÿ‡จ๐Ÿ‡ด ์ฝœ๋กฌ๋น„์•„ โ€” ๋ณ€ํ˜ธ์‚ฌ ์กฐํšŒ

์—”๋“œํฌ์ธํŠธโ€‹

GET https://api.verifik.co/v2/co/rama/abogados

์ฟผ๋ฆฌ๋กœ documentType(CC, CE, NIT)๊ณผ documentNumber ๋ฅผ ๋ณด๋ƒ…๋‹ˆ๋‹ค. ์‘๋‹ต์˜ results ๋ฐฐ์—ด์— ๋ ˆ์ง€์ŠคํŠธ๋ฆฌ ํ•ญ๋ชฉ์ด ๋‹ด๊น๋‹ˆ๋‹ค.

ํ—ค๋”(Headers)โ€‹

NameValue
Acceptapplication/json
AuthorizationBearer <token>

๋งค๊ฐœ๋ณ€์ˆ˜(Parameters)โ€‹

nametyperequireddescription
documentTypestringyesCC, CE, NIT ์ค‘ ํ•˜๋‚˜.
documentNumberstringyes์กฐํšŒํ•  ์‹ ๋ถ„์ฆยทNIT ๋ฒˆํ˜ธ.

์š”์ฒญ(Request)โ€‹

import axios from "axios";

const { data } = await axios.get("https://api.verifik.co/v2/co/rama/abogados", {
params: { documentType: "CC", documentNumber: "123456789" },
headers: {
Accept: "application/json",
Authorization: `Bearer ${process.env.VERIFIK_TOKEN}`,
},
});
console.log(data);

์‘๋‹ต(Response)โ€‹

{
"data": {
"documentNumber": "123456789",
"documentType": "CC",
"firstName": "Marรญa",
"fullName": "Marรญa Gonzรกlez Lรณpez",
"lastName": "Gonzรกlez Lรณpez",
"results": [
{
"documentNumber": "123456789",
"documentTypeName": "Cรฉdula de ciudadanรญa",
"firstName": "Marรญa",
"lastName": "Gonzรกlez Lรณpez",
"statusName": "Vigente",
"tarcarliceNumber": "987654"
}
]
},
"signature": {
"message": "Certified by Verifik.co",
"dateTime": "April 20, 2026 10:00 AM"
},
"id": "ABC12"
}

์ฐธ๊ณ (Notes)โ€‹

  • documentType ์€ CC, CE, NIT ๋งŒ ํ—ˆ์šฉ๋ฉ๋‹ˆ๋‹ค.
  • ๋“ฑ๋ก ๊ฒฐ๊ณผ๊ฐ€ ์—†์œผ๋ฉด 404 ๊ฐ€ ๋‚  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.