Skip to content

StripeSettings

@tsed/stripe

Usage

typescript
import { StripeSettings } from "@tsed/stripe";

See /packages/third-parties/stripe/src/types/domain/StripeSettings.ts.

Overview

ts
interface StripeSettings extends Stripe.StripeConfig {
    apiKey: string;
    webhooks?: {
        secret: string;
        tolerance?: number;
    };
}

apiKey

ts
apiKey: string;

Stripe ApiKey

webhooks

ts
webhooks?: {
     secret: string;
     tolerance?: number;
 };

Webhooks settings

Released under the MIT License.