{"repo":"ynnoj/next-stripe","free":true,"listed":false,"github":"https://github.com/ynnoj/next-stripe","clone":"git clone https://github.com/ynnoj/next-stripe.git","description":"Simplified server-side Stripe workflows in Next.js","language":"JavaScript","stars":561,"topics":["stripe","nextjs"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"NextStripe Simplified server-side Stripe workflows in Next.js ⚠️ PLEASE NOTE: This library is currently in beta and should be used in production with caution! Getting Started Add the API route Create a [...nextstripe].js catch-all route in your project's pages/api/stripe directory. ⚠️ PLEASE NOTE: It is recommended you use a restricted key with limited API access with this library. These keys can be created and configured with the required access in the Stripe Dashboard. Usage next-stripe/client exports helper functions to call the Next.js API routes. Checkout Sessions Create Stripe API Docs PaymentIntents Create Stripe API Docs Confirm Stripe API Docs Retrieve Stripe API Docs Update Stripe API Docs Billing Portal Sessions Create Stripe API Docs Acknowledgements - A lot of the patterns in this library were inspired by NextAuth. - Thanks to Jamie Barton for the initial idea.","default_branch":null,"files":null,"tree":[],"storefront":"/r/ynnoj","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ynnoj/next-stripe/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}