/api-monetization-demo

Build a Monetized API with Stripe Metered Billing

Primary LanguageJavaScript

API Monetization Demo with Stripe Metered Billing

Learn how to make money from an API on YouTube.

Detailed breakdown of the API monetization code Fireship.

Run it

  • Create a metered billing product in Stripe
  • Install Stripe CLI
  • Add your testing Stripe secret key in the index.js
git clone 
npm i
node .
stripe listen --forward-to localhost:8080/webhook