UNPKG

@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.

13 lines (12 loc) 745 B
import type { AccountIdentification } from '../../core/models/api/accountIdentification'; import type { MutationOptions } from '../types'; import type { components } from './check.contract'; export type CAASResponseError = components['schemas']['CheckResponseDto']['errors']; export type CAASRequest = AccountIdentification; type CheckSuccessResponse = components['schemas']['CheckResponseDto']; export declare const useCheck: (options?: MutationOptions<CheckSuccessResponse, Error, CAASRequest>) => import("@tanstack/preact-query").UseMutationResult<{ checkReference?: string; errors?: components["schemas"]["CheckErrorDto"][]; status?: components["schemas"]["CheckStatusDto"]; }, Error, AccountIdentification, unknown>; export {};