Skip to content

yeouidopartners/nice-kyc-api

Repository files navigation

NICE KYC API

Nice API Wrapper

Install

pnpm i @yeouidopartners/nice-kyc-api

Examples

Client 생성

const api = await NiceKycApi.create({
  clientId: process.env.NICE_CLIENT_ID!,
  clientSecret: process.env.NICE_CLIENT_SECRET!,
});

이름-주민번호 매칭 검증

const res = await api.checkRrnMatch({
  rrn: "9901011234567",
  name: "홍길동",
});
if (!res.match) {
  throw new Error("Name and rrn do not match");
}

About

Nice 본인인증 KYC Api wrapper 입니다.

Resources

License

Stars

Watchers

Forks

Packages

No packages published