@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.
5 lines (4 loc) • 342 B
TypeScript
import type { components } from './tinVerification.contract';
export type TinVerificationResponse = components['schemas']['CompanyTinVerificationResponse'];
export type TinVerificationRequest = components['schemas']['CompanyTinVerificationRequest'];
export type VerifyTin = (data: TinVerificationRequest) => Promise<TinVerificationResponse>;