EdfaPay Logo
New

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

MethodParameterDescription
setPartnerConfig(config: String)config — encrypted config stringApplies 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.

SettingDescription
Environment URLsOverride default EdfaPay API endpoints for custom backend integration.
Powered By LogoCustom “Powered by” branding logo displayed in SDK UI screens.
Feature FlagsPartner-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...