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.

10 lines (9 loc) 465 B
import type { components } from './providersConfiguration.contract'; type Provider = 'address' | 'idNumber' | 'idDocument'; export type ProvidersConfigurationResponse = Omit<components['schemas']['ProvidersStatusesResponse'], 'statuses'> & { statuses: Record<Provider, components['schemas']['ProviderStatusResponse']>; }; export type ProvidersConfigurationRequest = components['schemas']['ProvidersStatusesRequest'] & { providers: Provider[]; }; export {};