@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) • 955 B
TypeScript
import type { QueryOptions } from '../types';
import type { TaxClassificationSuccessResponse } from './taxClassification.types';
export type QueryKeyTaxClassification = ['taxClassification'];
/**
* @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
*/
export declare const useTaxClassification: (options?: QueryOptions<TaxClassificationSuccessResponse>) => import("@tanstack/preact-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>;