@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) • 770 B
TypeScript
import type { ExistingTransferInstrument, TransferInstrument } from '../../core/models/api/transfer-instrument';
import type { MutationOptions } from '../types';
interface MutationPayload {
transferInstrument: TransferInstrument;
transferInstrumentId: string;
}
/**
* Updates a transfer instrument associated with a legal entity
* When update is successful, updates the transfer instrument query and invalidates transfer instruments
* @param options additional options passed to Tanstack Query
*/
export declare const useUpdateTransferInstrument: (options?: MutationOptions<ExistingTransferInstrument, unknown, MutationPayload>) => import("@tanstack/preact-query").UseMutationResult<ExistingTransferInstrument, unknown, MutationPayload, unknown>;
export {};