@adyen/kyc-components
Version:
`adyen-kyc-components` provides the required pieces to build an onboarding flow based on a legal entity. To onboard and verify users, you need to create a user interface (UI) to collect user data. To speed up building your integration, Adyen offers onboar
9 lines (8 loc) • 536 B
TypeScript
import type { ExistingLegalEntity, LegalEntity } from '../core/models/api/legal-entity';
import type { Language } from '../language/Language';
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, i18n: Language) => string;