UNPKG

@adyen/adyen-web

Version:

[![npm](https://img.shields.io/npm/v/@adyen/adyen-web.svg)](https://www.npmjs.com/package/@adyen/adyen-web)

23 lines (22 loc) 736 B
import { UIElementProps } from '../types'; import { BrowserInfo } from '../../types'; import { ClickToPayConfiguration } from '../internal/ClickToPay/types'; import { ClickToPayCheckoutPayload } from '../internal/ClickToPay/services/types'; export type ClickToPayElementProps = UIElementProps & ClickToPayConfiguration & { /** * ClickToPay configuration sent by the /paymentMethods response */ configuration?: { mcDpaId?: string; mcSrcClientId?: string; visaSrcInitiatorId?: string; visaSrciDpaId?: string; }; }; export type ClickToPayPaymentData = { paymentMethod: ClickToPayCheckoutPayload & { type: string; }; origin: string; browserInfo: BrowserInfo; };