UNPKG

@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

19 lines (18 loc) 1.18 kB
import type { Language } from '../../language/Language'; import type { CountryCode } from '../../core/models/country-code'; import type { QueryOptions } from '../types'; import type { components, operations } from './transferInstruments.contract'; type GetBankVerificationProviderResponse = components['schemas']['BankAggregatorProviderResponse'][]; export type BankVerificationVendor = GetBankVerificationProviderResponse[number]; export type GetBankVerificationQueryParams = operations['getBankVerificationProviders']['parameters']['query'] & { country: CountryCode; locale: Language['locale']; }; /** * Retrieves the list of bank verification providers and their respective urls. * Bank verification providers are used to instantly verify payout accounts. * @param queryParams the relevant country, locale, and configId * @param options additional options passed to Tanstack Query, eg; onSuccess */ export declare const useGetBankVerificationProviders: (queryParams: GetBankVerificationQueryParams, options?: QueryOptions<GetBankVerificationProviderResponse>) => import("@tanstack/react-query").UseQueryResult<GetBankVerificationProviderResponse, Error>; export {};