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

13 lines (12 loc) 613 B
import type { MutationOptions } from '@tanstack/react-query'; import type { components } from './tinVerification.contract'; type SuccessResponse = components['schemas']['CompanyTinVerificationResponse']; type Request = components['schemas']['CompanyTinVerificationRequest']; export type VerifyTin = (data: Request) => Promise<SuccessResponse>; export declare const useVerifyTin: (options?: Omit<MutationOptions<SuccessResponse, unknown, Request>, "mutationFn">) => import("@tanstack/react-query").UseMutationResult<{ matched?: boolean; }, unknown, { name: string; tin: string; }, unknown>; export {};