EdfaPay Logo

Partner Configuration

Override default SDK settings with a custom encrypted partner configuration string. This allows custom API endpoints, branding, and feature flags per partner.

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 Reference

The partner configuration method applies custom settings before SDK initialization.

MethodParameterDescription
setPartnerConfig(config: String)config — encrypted config stringApplies a partner-specific configuration to override SDK defaults.
Loading...

Obtaining Your Config String

Call setPartnerConfig() with your encrypted configuration string before SDK initialization.

Loading...

Configuration Options

The encrypted partner config string may contain the following settings:

SettingDescription
Environment URLsOverride default 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

Complete Example

A full example showing setPartnerConfig() called in the correct order, before the SDK is initialized:

Loading...