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

    Interface WebhookConfig

    Configuration for webhook handling.

    interface WebhookConfig {
        handlers: WebhookHandlers;
        signingSecret: string;
        throwOnInvalidSignature?: boolean;
        tolerance?: number;
    }

    Hierarchy (View Summary)

    Index
    handlers: WebhookHandlers

    Event handlers by type

    signingSecret: string

    Stripe webhook signing secret (whsec_…)

    throwOnInvalidSignature?: boolean

    Whether to treat a signature verification failure as an error.

    true
    
    tolerance?: number

    Maximum allowed difference (seconds) between the signature timestamp and now. Set to 0 to disable the timestamp check.

    300