UNPKG

@fenil265/fundly-payment-sdk

Version:

Fundly Payment SDK for seamless integration with Fundly Pay systems.

69 lines 2.6 kB
/** * Environment Configuration * Handles switching between production and sandbox/development environments */ /** * Get the current environment configuration */ export declare const getEnvironmentConfig: () => { readonly GATEWAY_URL: "https://gateway.fundly.ai"; readonly API_BASE_URL: "https://api.fundly.ai"; readonly API_BASE_URL_V2: "https://api-v2.fundly.ai"; readonly DOCUMENT_API_URL: "https://api-v2.fundly.ai/document/v4/common"; readonly PAYMENT_WEBHOOK_URL: "https://api-v2.fundly.ai/payment/api/webhook/zaakpay/callback"; readonly CLEVERTAP_ACCOUNT_ID: "44K-ZR9-W57Z"; readonly CLEVERTAP_REGION: "eu1"; readonly CLARITY_PROJECT_ID: "su2mnj9g9r"; } | { readonly GATEWAY_URL: "https://gateway-preprod.fundly.ai"; readonly API_BASE_URL: "https://preprod.fundly.ai"; readonly API_BASE_URL_V2: "https://api-v2.fundly.ai"; readonly DOCUMENT_API_URL: "https://test1.fundly.ai/document/v4/common"; readonly PAYMENT_WEBHOOK_URL: "https://preprod.fundly.ai/payment/api/webhook/zaakpay/callback"; readonly CLEVERTAP_ACCOUNT_ID: "TEST-54K-ZR9-W57Z"; readonly CLEVERTAP_REGION: "eu1"; readonly CLARITY_PROJECT_ID: undefined; }; /** * Get the base URL for collection service */ export declare const getCollectionBaseUrl: () => string; /** * Get the base URL for auth service * Production: Uses gateway routing * Sandbox: Goes directly to API (no gateway) */ export declare const getAuthBaseUrl: () => string; /** * Get the gateway URL */ export declare const getGatewayUrl: () => "https://gateway.fundly.ai" | "https://gateway-preprod.fundly.ai"; /** * Get the API base URL */ export declare const getApiBaseUrl: () => "https://api.fundly.ai" | "https://preprod.fundly.ai"; /** * Get CleverTap account ID */ export declare const getCleverTapAccountId: () => "44K-ZR9-W57Z" | "TEST-54K-ZR9-W57Z"; /** * Get CleverTap region */ export declare const getCleverTapRegion: () => "eu1"; /** * Get Clarity project ID */ export declare const getClarityProjectId: () => "su2mnj9g9r" | undefined; /** * Get Document API URL */ export declare const getDocumentApiUrl: () => "https://api-v2.fundly.ai/document/v4/common" | "https://test1.fundly.ai/document/v4/common"; /** * Get Payment Webhook URL */ export declare const getPaymentWebhookUrl: () => "https://api-v2.fundly.ai/payment/api/webhook/zaakpay/callback" | "https://preprod.fundly.ai/payment/api/webhook/zaakpay/callback"; /** * Get ERP service base URL */ export declare const getErpServiceUrl: () => string; //# sourceMappingURL=environment.config.d.ts.map