I was successfully able to create an action which utilized the Stripe module.
However, when trying to set up my Stripe webhooks in http.ts, there seems to be an error with resolving the Stripe module. "use node" can't be added to to http.ts so I was wondering if there was a workaround for this issue.
I've tried several methods of creating the Stripe object, and have it working on NextAPI.