api-monetization-demo
api-monetization-demo copied to clipboard
Build a Monetized API with Stripe Metered Billing
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