@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) • 972 B
TypeScript
import type { QueryOptions } from '../types';
import type { components } from './taxClassification.contract';
export type TaxClassificationSuccessResponse = components['schemas']['TaxReportingClassification'];
/**
* @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
*/
export declare const useTaxClassification: (options?: QueryOptions<TaxClassificationSuccessResponse>) => import("@tanstack/react-query").UseQueryResult<{
businessType?: "other" | "listedPublicCompany" | "subsidiaryOfListedPublicCompany" | "governmentalOrganization" | "internationalOrganization" | "financialInstitution";
financialInstitutionNumber?: string;
mainSourceOfIncome?: "businessOperation" | "realEstateSales" | "investmentInterestOrRoyalty" | "propertyRental" | "other";
requestedVerificationCode?: string;
type?: "nonFinancialNonReportable" | "financialNonReportable" | "nonFinancialActive" | "nonFinancialPassive";
}, Error>;