WebhookEventMiddleware
@tsed/stripe
Usage
typescript
import { WebhookEventMiddleware } from "@tsed/stripe";
See /packages/third-parties/stripe/src/types/middlewares/WebhookEventMiddleware.ts.
Overview
ts
class WebhookEventMiddleware implements MiddlewareMethods {
protected stripe: Stripe;
protected webhooks: WebhookEventOptions;
use(signature: string, body: Buffer, ctx: Context): any;
}
protected stripe
ts
protected stripe: Stripe;
protected webhooks
ts
protected webhooks: WebhookEventOptions;
use
ts
use(signature: string, body: Buffer, ctx: Context): any;