Skip to main content

๐Ÿ‡จ๐Ÿ‡ด ์ฝœ๋กฌ๋น„์•„ โ€” SIGEP ๊ณต๋ฌธ์„œ ์กฐํšŒ (by document)

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

GET https://api.verifik.co/v2/co/sigep/number

documentType ๊ณผ documentNumber ๋กœ SIGEP ๋””๋ ‰ํ„ฐ๋ฆฌ๋ฅผ ์กฐํšŒํ•ฉ๋‹ˆ๋‹ค. ์ด๋ฆ„๋งŒ์œผ๋กœ ๊ฒ€์ƒ‰ํ•˜๋ ค๋ฉด SIGEP (์ด๋ฆ„) ์„ ์‚ฌ์šฉํ•˜์„ธ์š”.

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

NameValue
Acceptapplication/json
AuthorizationBearer <token>

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

nametyperequireddescription
documentTypestringyesCC ๋˜๋Š” NIT (API ๊ฒ€์ฆ).
documentNumberstringyes๊ณต๋ฐฑยท๊ตฌ๋‘์  ์—†์ด.

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

import axios from "axios";

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

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

{
"data": {
"fullName": "FRANCIA ELENA MARQUEZ MINA",
"documentType": "CC",
"documentNumber": "34503110",
"records": [],
"legend": ""
},
"signature": {
"message": "Certified by Verifik.co",
"dateTime": "October 27, 2025 8:49 AM"
},
"id": "VMH0I"
}

์ฐธ๊ณ (Notes)โ€‹

  • documentType ์€ CC / NIT ๋งŒ ํ—ˆ์šฉ๋ฉ๋‹ˆ๋‹ค(UI์— ๋‹ค๋ฅธ ๊ฐ’์ด ๋ณด์ผ ์ˆ˜ ์žˆ์Œ).
  • ๋””๋ ‰ํ„ฐ๋ฆฌ์— ์—†์œผ๋ฉด 200์— ๋นˆ records ์™€ legend ๊ฐ€ ์˜ฌ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.