Learn how to collect payments from an API or SaaS product. In this tutorial, we build an Express.js API from scratch, then make money by integrating Stripe Metered Billing. https://fireship.io/lessons/api-monetization-stripe/

#js #makemoney #code

Resources

Full Stripe JavaScript Course https://fireship.io/courses/stripe-js/
Stripe Billing https://stripe.com/docs/billing/subscriptions/metered-billing
Source Code https://github.com/fireship-io/api-monetization-demo

RapidAPI approach: @AniaKubow https://youtu.be/GK4Pl-GmPHk

Chapters

00:00 Intro
00:37 How API Monetization Works
01:59 Build an API with Express
04:17 Metered Billing Products
05:17 Stripe Checkout
06:41 Listen to Webhooks
08:33 Generate API Keys
11:05 Record Usage

Get More Content - Upgrade to PRO

Upgrade to Fireship PRO at https://fireship.io/pro
Use code lORhwXd2 for 25% off your first payment.

My Editor Settings

- Atom One Dark
- vscode-icons
- Fira Code Font

Topics Covered

- Create custom API keys in node
- Node hashing crypto
- Stripe webhooks
- Metered billing for API