PayFanout API reference
    Preparing search index...

    Interface StripeClientAdapterConfig

    interface StripeClientAdapterConfig {
        environment: "sandbox" | "live";
        getStripeGlobal?: () => StripeJsFactory | undefined;
        loadScript?: (url: string) => Promise<void>;
        locale?: string;
        paymentMethods?: PaymentMethodCapability[];
        publishableKey: string;
        returnUrl?: string;
        sdkUrl?: string;
    }
    Index
    environment: "sandbox" | "live"

    Explicit, mirrors the server adapter — never inferred from key prefixes.

    getStripeGlobal?: () => StripeJsFactory | undefined
    loadScript?: (url: string) => Promise<void>

    Test seams: script injection + global lookup.

    locale?: string
    paymentMethods?: PaymentMethodCapability[]

    Override the capability list per account/currency instead of hardcoding.

    publishableKey: string
    returnUrl?: string

    Used for redirect-based methods; card/3DS flows stay inline (redirect: "if_required").

    sdkUrl?: string