UNPKG

@adsesugh/monnify-react-native

Version:

A React Native component for integrating Monnify payment gateway using WebView for both React Native CLI and Expo.

34 lines 858 B
export interface MonnifyConfig { apiKey: string; secretKey: string; contractCode: string; isTestMode?: boolean; } export interface InitializePaymentPayload { amount: number; customerName: string; customerEmail: string; paymentReference: string; paymentDescription: string; currencyCode?: string; redirectUrl?: string; } export interface InitializePaymentResponse { checkoutUrl: string; transactionReference: string; } export interface VerifiedPaymentResponse { success: boolean; paymentStatus: string; amount?: number; amountPaid?: number; fee?: number; paymentReference?: string; transactionReference?: string; customerName?: string; customerEmail?: string; paymentMethod?: string; completedOn?: string; error?: string; } //# sourceMappingURL=index.d.ts.map