UNPKG

pcp-server-nodejs-sdk

Version:

[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=PAYONE-GmbH_PCP-server-nodeJS-SDK&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=PAYONE-GmbH_PCP-server-nodeJS-SDK) [![Coverage](https://sonarcloud.io/api/pr

37 lines (36 loc) 1.28 kB
import type { ApplePaymentDataTokenInformation } from './ApplePaymentDataTokenInformation.js'; /** * Object containing additional information needed for Apple Pay payment transactions. */ export interface PaymentProduct302SpecificInput { /** * Type of your Apple Pay integration. * - `MERCHANT_CERTIFICATE`: using your own certificate (paid Apple Pay account needed). * - `MASS_ENABLEMENT`: using PAYONE certificate. */ integrationType?: 'MERCHANT_CERTIFICATE' | 'MASS_ENABLEMENT'; /** * Network/Scheme of the card used for the payment. * - `MASTERCARD` * - `VISA` * - `AMEX` * - `GIROCARD` * - `DISCOVER` (not supported yet) * - `JCB` (not supported yet) */ network?: 'MASTERCARD' | 'VISA' | 'AMEX' | 'GIROCARD' | 'DISCOVER' | 'JCB'; /** * Token containing Apple Pay payment data. */ token?: ApplePaymentDataTokenInformation; /** * Domain of your Webshop. Needed for initializing the Apple Pay payment session * when `integrationType` is `MASS_ENABLEMENT`. */ domainName?: string; /** * Name of your Store. Needed for initializing the Apple Pay payment session * when `integrationType` is `MASS_ENABLEMENT`. */ displayName?: string; }