Interface Config

Configuration options for creating an Iaptic adapter

Currently only supports Stripe integration, but may support other platforms in the future

interface Config {
    apiKey: string;
    appName: string;
    customIapticUrl?: string;
    type: "stripe";
}

Properties

apiKey: string

Your Iaptic public API key

Can be found in your Iaptic dashboard under API settings

appName: string

Your application name as configured on iaptic.com

This must match exactly what you set up in the Iaptic dashboard

customIapticUrl?: string

Optional custom Iaptic URL for private deployments

Only needed if you're using a self-hosted version of Iaptic

type: "stripe"

Adapter type (currently only 'stripe' is supported)

This field determines which payment platform will be used