UNPKG

@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) 911 B
import { skipToken } from '@tanstack/preact-query'; import type { QueryOptions } from '../types'; import type { IdentificationStatusResponse, StartIdentificationResponse } from './idNowProvider.types'; export type QueryKeyIdNowProviderStartIdentification = ['idNowProviderStartIdentification', string]; export type QueryKeyIdNowProviderIdentificationStatus = [ 'idNowProviderIdentificationStatus', string ]; export declare const useIdNowIdentificationStatus: (legalEntityId: string | typeof skipToken, options?: QueryOptions<IdentificationStatusResponse>) => import("@tanstack/preact-query").UseQueryResult<IdentificationStatusResponse, Error>; export declare const useIdNowStartIdentification: (legalEntityId: string | typeof skipToken, options?: QueryOptions<StartIdentificationResponse>) => import("@tanstack/preact-query").UseQueryResult<{ transactionNumber: string; url: string; }, Error>;