@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.
12 lines (11 loc) • 605 B
TypeScript
import type { CompanyDatasetRequest, CompanyDatasetResponse } from '../companyDataSet/companyDataset.types';
import type { TinVerificationRequest, TinVerificationResponse } from '../tinVerification/tinVerification.types';
import type { CountryCode } from '../../types/datasets/country-code';
export type CompanySelectionRequest = CompanyDatasetRequest & TinVerificationRequest & {
country: CountryCode;
registrationNumber: string;
};
export type CompanySelectionResponse = CompanyDatasetResponse & {
tinMatched?: TinVerificationResponse['matched'];
registrationNumberMatched?: boolean;
};