@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.
16 lines (15 loc) • 838 B
TypeScript
import type { MutationOptions } from '../types';
import type { CreateTrustedTransferInstrumentRequest, CreateTrustedTransferInstrumentResponse } from './transferInstruments.types';
/**
* 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, CreateTrustedTransferInstrumentRequest>) => import("@tanstack/preact-query").UseMutationResult<{
accounts?: import("./transferInstruments.contract").components["schemas"]["BankAccountSummary"][];
error?: string;
errorMessage?: string;
verificationReference?: string;
}, Error, {
code: string;
state: string;
}, unknown>;