@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) • 965 B
TypeScript
import type { MutationOptions } from '../types';
import type { components } from './transferInstruments.contract';
export type CreateTrustedTransferInstrumentResponse = components['schemas']['BankVerificationResponse'];
type CreateTrustedTransferInstrumentRequestData = components['schemas']['CreateTrustedTransferInstrumentRequest'];
/**
* Creates a trusted transfer instrument in LEM using the information provided by Open Banking
* @param options additional options passed to Tanstack Query, eg; onSuccess
*/
export declare const useCreateTrustedTransferInstrument: (options?: MutationOptions<CreateTrustedTransferInstrumentResponse, Error, CreateTrustedTransferInstrumentRequestData>) => import("@tanstack/react-query").UseMutationResult<{
accounts?: components["schemas"]["BankAccountSummary"][];
error?: string;
errorMessage?: string;
verificationReference?: string;
}, Error, {
code: string;
state: string;
}, unknown>;
export {};