@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.
8 lines (7 loc) • 586 B
TypeScript
import type { MutationOptions } from '../types';
import type { AcceptTermsOfServiceAcceptRequest, AcceptTermsOfServiceAcceptResponse } from './termsOfService.types';
export declare const useAcceptTermsOfService: (options?: Omit<MutationOptions<AcceptTermsOfServiceAcceptResponse, unknown, AcceptTermsOfServiceAcceptRequest>, "mutationFn">) => import("@tanstack/preact-query").UseMutationResult<import("../../core/models/api/contracts").ServiceAgreementSignResponse, unknown, {
acceptedBy: string;
legalEntityReference: string;
termsOfServiceDocumentId: string;
}, unknown>;