Stripe Webhooks (NextJS App Router)

Is it possible to create a stripe webhook endpoint using nextjs app router? If yes, how?
2 Replies
BILLY
BILLY2y ago
Better to ask in stripe discord... apologies.
Neto
Neto2y ago
Yes /app/api/stripe/route.ts Be a get endpoint or a post endpoint You can check webhookthing to check the endpoint without handling stripe for now
Want results from more Discord servers?
Add your server