• Parses the request body using the default json express middleware and validates the original string body content using validateWebhookRequest helper function.

    Type Parameters

    • TPayload

    Parameters

    Returns ((req, res, next) => void)

      • (req, res, next): void
      • Parameters

        • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
        • res: Response<any, Record<string, any>>
        • next: NextFunction

        Returns void

Generated using TypeDoc