UNPKG

@rnw-community/react-native-payments

Version:

Accept Payments with Apple Pay and Android Pay using the Payment Request API.

13 lines (11 loc) 519 B
import type { PaymentResponseAddressInterface } from './payment-response-address.interface.js'; // Mirrors the PassKit delegate change callbacks: https://developer.apple.com/documentation/passkit/pkpaymentauthorizationcontrollerdelegate export interface PaymentRequestEventPayloadInterface { couponCode?: string; eventId?: number; methodDetails?: Record<string, unknown>; methodName?: string; requestId: string; shippingAddress?: PaymentResponseAddressInterface; shippingOption?: string; }