UNPKG

zips-react-native-sdk-test

Version:

Lightweight ZIPS Payment Gateway SDK for React Native - Complete payment solution with ZApp wallet payments and Access Bank integration

57 lines (56 loc) 1.62 kB
export declare const ZIPS_CONFIG: { SANDBOX_URL: string; PRODUCTION_URL: string; ENDPOINTS: { CREATE_PAYMENT: string; GET_TRANSACTION: string; GET_BANKS: string; VERIFY_ACCOUNT: string; VERIFY_OTP: string; RESEND_OTP: string; }; TIMEOUTS: { DEFAULT: number; PAYMENT_CREATION: number; OTP_VERIFICATION: number; }; RETRY: { COUNT: number; DELAY: number; }; }; export declare const PAYMENT_METHODS: { readonly NETBANKING: "netbanking"; readonly CARD: "card"; readonly WALLET: "wallet"; }; export declare const PAYMENT_STEPS: { readonly METHOD_SELECTION: "method-selection"; readonly BANK_SELECTION: "bank-selection"; readonly ACCOUNT_INPUT: "account-input"; readonly OTP_VERIFICATION: "otp-verification"; readonly PROCESSING: "processing"; readonly SUCCESS: "success"; readonly ERROR: "error"; }; export declare const ERROR_CODES: { readonly NETWORK_ERROR: "NETWORK_ERROR"; readonly TIMEOUT: "TIMEOUT"; readonly INVALID_CARD: "INVALID_CARD"; readonly INSUFFICIENT_FUNDS: "INSUFFICIENT_FUNDS"; readonly INVALID_OTP: "INVALID_OTP"; readonly PAYMENT_DECLINED: "PAYMENT_DECLINED"; readonly API_ERROR: "API_ERROR"; readonly UNKNOWN_ERROR: "UNKNOWN_ERROR"; }; export declare const CURRENCIES: { readonly GMD: "GMD"; readonly USD: "USD"; readonly EUR: "EUR"; readonly GBP: "GBP"; }; export declare const SUPPORTED_COUNTRIES: { readonly GAMBIA: "GM"; readonly SENEGAL: "SN"; readonly GUINEA_BISSAU: "GW"; };