UNPKG

@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

14 lines (13 loc) 690 B
import type { AccountHolderOption } from '../core/types/AccountHolder.types'; import type { ExistingLegalEntity } from '../core/models/api/legal-entity'; export declare enum BusinessType { INDIVIDUAL = "individual", COMPANY = "company", INCORPORATED_PARTNERSHIP = "partnershipIncorporated", UNINCORPORATED_PARTNERSHIP = "partnershipUnincorporated", INDIVIDUAL_TRUSTEE = "individualTrustee", COMPANY_TRUSTEE = "companyTrustee", SOLE_PROPRIETORSHIP = "soleProprietorship", INCORPORATE_ASSOCIATION = "associationIncorporated" } export declare const useBusinessSetup: (legalEntityResponse: ExistingLegalEntity) => BusinessType | AccountHolderOption | undefined;