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

29 lines (28 loc) 1.33 kB
import type { AuthorizationMode } from './AuthorizationMode.js'; import type { MobilePaymentThreeDSecure } from './MobilePaymentThreeDSecure.js'; import type { PaymentProduct302SpecificInput } from './PaymentProduct302SpecificInput.js'; import type { PaymentProduct5002SpecificInput } from './PaymentProduct5002SpecificInput.js'; import type { PaymentProductId } from './PaymentProductId.js'; /** * @description Object containing the specific input details for mobile payments. */ export interface MobilePaymentMethodSpecificInput { paymentProductId?: PaymentProductId; authorizationMode?: AuthorizationMode; /** * @description The encrypted payment data, if decryption is required. * Typically, you'd use encryptedCustomerInput in the root of the create payment request instead. */ encryptedPaymentData?: string; /** * @description Public Key Hash - A unique identifier to retrieve the key used by Apple to encrypt information. */ publicKeyHash?: string; /** * @description Ephemeral Key - A unique generated key used by Apple to encrypt data. */ ephemeralKey?: string; threeDSecure?: MobilePaymentThreeDSecure; paymentProduct302SpecificInput?: PaymentProduct302SpecificInput; paymentProduct5002SpecificInput?: PaymentProduct5002SpecificInput; }