@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.
10 lines (9 loc) • 635 B
TypeScript
import type { ExistingLegalEntity, LegalEntity } from '../core/models/api/legal-entity';
import type { TFunction } from '../../types';
export declare const getIndividualLegalEntityName: (legalEntityResponse?: LegalEntity) => string;
export declare const getLegalEntityNameBasedOnType: (legalEntityResponse: LegalEntity) => string;
/** *
* In payout account the account holder name is always the legal arrangement
* ie: trust, soleprops etc, if they exist otherwise the legal entity name is the account holder
*/
export declare const getPayoutAccountHolderName: (legalEntity: ExistingLegalEntity, t: TFunction<"banking">) => string;