Partner Configuration
Apply custom partner-level settings such as environment URLs, branding, and feature flags before SDK initialization.
Overview
The SDK supports custom partner configurations that override default settings such as environment API endpoints and branding assets. This is designed for partners who require a fully white-labeled or custom-backend integration.
Must be called BEFORE initiate()
setPartnerConfig() must be called before EdfaPayPlugin.initiate(). Calling it after initialization will have no effect.
Obtaining Your Config String
Partner configuration strings are encrypted and individually issued by EdfaPay. Contact your EdfaPay representative to obtain a custom configuration string for your integration.
API
| Method | Parameter | Description |
|---|---|---|
setPartnerConfig(config: String) | config — encrypted config string | Applies a partner-specific configuration to override SDK defaults. |
Loading...Configuration Options
The encrypted config string encodes the following settings. These are applied automatically by the SDK when the config is loaded — no manual property setting is required.
| Setting | Description |
|---|---|
| Environment URLs | Override default EdfaPay API endpoints for custom backend integration. |
| Powered By Logo | Custom “Powered by” branding logo displayed in SDK UI screens. |
| Feature Flags | Partner-specific feature toggles and settings to enable or disable SDK capabilities. |
Complete Example
A full example showing setPartnerConfig() called in the correct order, before the SDK is initialized:
Loading...On this page
Downloads
Coming SoonSample apps, release bundles, and more content will be available here soon.