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

8 lines (7 loc) 499 B
import type { GetConfigurationRequest, GetConfigurationResponse } from '../../core/models/api/get-configuration'; import type { ValidationResponse } from '../../core/models/errors/validation-error'; export type ConfigurationApi = { getConfiguration: (request: GetConfigurationRequest) => Promise<GetConfigurationResponse>; validatePhoneNumber: (phoneNumber: string) => Promise<ValidationResponse>; }; export declare const ConfigurationApiContext: import("preact").Context<ConfigurationApi>;