@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) • 428 B
TypeScript
import type { QueryOptions } from './types';
import type { ExistingLegalEntity } from '../core/models/api/legal-entity';
/**
*
* @param id legalEntityId
* @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
*/
export declare const useLegalEntity: (id: string, options?: QueryOptions<ExistingLegalEntity>) => import("@tanstack/react-query").UseQueryResult<ExistingLegalEntity, Error>;