@adyen/kyc-components
Version:
This guide assumes that you have already an account with Adyen. A legalEntity needs to be created, and you need to have a `legalEntityId` to instatiate a Component.
7 lines (6 loc) • 506 B
TypeScript
import type { components } from './idNowProvider.contract.d';
export type StartIdentificationResponse = components['schemas']['StartIdentificationResponse'];
export type IdentificationStatusResponse = Omit<components['schemas']['IdentificationStatusResponse'], 'status' | 'providerStatus'> & {
status: 'pending' | 'finished' | 'outdated';
providerStatus?: 'REVIEW_PENDING' | 'FRAUD_SUSPICION_PENDING' | 'SUCCESS' | 'SUCCESS_DATA_CHANGED' | 'FRAUD_SUSPICION_CONFIRMED' | 'ABORTED' | 'CANCELLED';
};