@bates-solutions/stripe API Reference - v2.2.1
    Preparing search index...

    Interface StripeClientConfig

    Configuration options for the Stripe client

    interface StripeClientConfig {
        apiKey: string;
        apiVersion?: string;
        connectClientId?: string;
        maxNetworkRetries?: number;
        stripeAccount?: string;
    }
    Index
    apiKey: string

    Stripe secret API key (e.g. sk_test_… or sk_live_…)

    apiVersion?: string

    Pin a specific Stripe API version. Omit to use the version configured on your Stripe account.

    connectClientId?: string

    Your platform's Connect client ID (ca_…). Used as the default by oauth.deauthorize.

    maxNetworkRetries?: number

    Number of times the Stripe SDK retries failed requests.

    1
    
    stripeAccount?: string

    Act as this connected account (acct_…) on every call: the SDK sends it as the Stripe-Account header. Anything that isn't an acct_… ID throws StripeValidationError. Usually you don't set this yourself; use StripeClient.forAccount on your platform client instead.