accepting-payments

Official

Enable seamless paid API endpoints with x402 protocol.

Author0xHoneyJar
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill allows developers to turn any Next.js API route into a paid, monetized endpoint using the x402 protocol, simplifying secure micropayments.

Core Features & Use Cases

  • Payment Middleware Generation: Creates middleware that verifies payments and enforces access control.
  • Rate Limiting Integration: Implements per-agent and per-IP rate limits to prevent abuse.
  • Lifecycle Hooks: Adds hooks for tracking payment requests, verifications, and settlements, enabling auditing and analytics.
    Use case: A developer wants to monetize their API by requiring a small payment for each request while tracking active users and preventing excessive use.

Quick Start

Request a paid API endpoint by adding the /beacon-pay trigger to your route handlers to automatically generate the necessary middleware and hooks.

Dependency Matrix

Required Modules

@0xhoneyjar/beacon-schematypescriptfetch

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: accepting-payments
Download link: https://github.com/0xHoneyJar/construct-beacon/archive/main.zip#accepting-payments

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.