Capability and configuration data for a single off-ramp/on-ramp provider. Returned by OffRampIntegration.getProviderConfig.

interface ProviderConfig {
    feePercentage: string;
    maxAmount: string;
    minAmount: string;
    provider: OffRampProvider;
    supportedAssets: string[];
    supportedCountries: string[];
    supportedFiatCurrencies: string[];
    testModeAvailable: boolean;
}

Properties

feePercentage: string

Provider fee as a percentage string (e.g. "4.5" means 4.5%). Does not include network fees.

maxAmount: string

Maximum transaction amount in fiat (as a decimal string, e.g. "50000").

minAmount: string

Minimum transaction amount in fiat (as a decimal string, e.g. "20").

provider: OffRampProvider

Provider identifier.

supportedAssets: string[]

Cryptocurrency asset codes supported by this provider on Stellar.

['XLM', 'USDC', 'ETH', 'BTC']
supportedCountries: string[]

ISO 3166-1 alpha-2 country codes where this provider operates.

['US', 'GB', 'DE']
supportedFiatCurrencies: string[]

ISO 4217 fiat currency codes accepted by this provider.

['USD', 'EUR', 'GBP']
testModeAvailable: boolean

Whether this provider's sandbox/test environment is available.