@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.
14 lines (13 loc) • 648 B
TypeScript
import type { LegalEntityType } from '../../core/models/api/legal-entity-type';
import type { LegalEntity } from '../../core/models/api/legal-entity';
import type { AccountHolderOption } from '../../types/accountHolder';
type AssociatedEntityDetails = {
associatedLegalEntityId?: string;
associatedLegalEntityType?: LegalEntityType;
};
/**
* Gets associated legal entity type and ID for the base tracking payload
* Based on selected account holder type
*/
export declare const getAnalyticsAssociatedEntityDetails: (rootLegalEntity: LegalEntity, accountHolderType?: AccountHolderOption) => AssociatedEntityDetails | undefined;
export {};