UNPKG

@portone/browser-sdk

Version:

PortOne SDK for browser

30 lines (29 loc) 1.03 kB
import { Entity } from './index.js'; export declare function requestIdentityVerification(request: IdentityVerificationRequest): Promise<IdentityVerificationResponse | undefined>; export type IdentityVerificationRequest = { storeId: string; identityVerificationId: string; channelKey?: string; pgProvider?: Entity.PgProvider; isTestChannel?: boolean; customer?: Entity.Customer; windowType?: Entity.WindowTypes; redirectUrl?: string; customData?: string; bypass?: Entity.IdentityVerificationBypass; popup?: Entity.Popup; iframe?: Entity.Iframe; }; /** * iframe/popup 방식으로 PG사 창이 렌더링 된 경우 * 프로세스 종료 후, 콜백 함수로 전달 될 본인인증 정보 데이터 */ export type IdentityVerificationResponse = { transactionType: typeof Entity.TransactionType.IDENTITY_VERIFICATION; identityVerificationId: string; identityVerificationTxId: string; code?: string; message?: string; pgCode?: string; pgMessage?: string; };