@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.
10 lines (9 loc) • 657 B
TypeScript
import type { QueryOptions } from '../types';
import type { ProvidersConfigurationRequest, ProvidersConfigurationResponse } from './providersConfiguration.types';
export type QueryKeyProvidersStatus = ['providersStatus', ProvidersConfigurationRequest];
/**
* Asks the backend if 3rd party providers like Loqate and Onfido are available.
*
* Bank verification providers are not included, as these are handled by Open Banking.
*/
export declare const useProviderStatus: (data: ProvidersConfigurationRequest, options?: QueryOptions<ProvidersConfigurationResponse>) => import("@tanstack/preact-query").UseQueryResult<ProvidersConfigurationResponse, Error>;