payments

Implement Stripe credit-based billing with Drizzle ORM for subscriptions and usage metering.

3|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/mattwoodco/skills --skill payments-mattwoodco
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: payments
Source: https://github.com/mattwoodco/skills/tree/main/skills/payments
Command: npx skills add https://github.com/mattwoodco/skills --skill payments-mattwoodco

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides a robust system for managing user subscriptions, credit balances, and payment processing using Stripe, enabling a seamless monetization and usage tracking experience.

Core Features & Use Cases

  • Subscription Management: Handles free, pro, and team plans with monthly credit allocations.
  • Credit System: Implements a credit-based billing model for usage metering and purchases.
  • Stripe Integration: Integrates with Stripe for checkout, webhooks, and billing portal management.
  • Use Case: Automatically charge users based on their API usage, manage subscription tiers, and allow one-time credit purchases.

Quick Start

Integrate Stripe payments and subscription billing into your application.

Frequently Asked Questions about payments

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement a credit-based billing system with Stripe for usage metering?

A credit-based billing system with Stripe tracks user credit balances and deducts usage automatically. This approach manages subscriptions, allocates monthly credits, and processes one-time credit purchases via Stripe checkout and webhooks.

How do I manage subscription tiers and monthly credit allocations using Stripe?

Managing subscription tiers with Stripe involves defining plans like free, pro, and team, each with monthly credit allocations. The system handles tier upgrades, downgrades, and recurring credit distribution through Stripe billing portal integrations.

Can I use Drizzle ORM to manage Stripe subscription and credit transaction database schemas?

Yes, you can use Drizzle ORM to manage database schemas for Stripe subscriptions and credit transactions. It provides the schema structure to persist user subscription states, credit balances, and usage metering records.

What is the best way to handle one-time credit purchases through Stripe checkout?

The best way to handle one-time credit purchases through Stripe checkout is by configuring Stripe checkout sessions and processing payment confirmation via webhooks. This updates user credit balances immediately after successful transactions.

Does this Stripe billing integration support automated usage metering and API charges?

Yes, this Stripe billing integration supports automated usage metering by deducting credits based on API usage. It automatically tracks consumption against user credit balances and allows users to purchase additional credits as needed.