monetize-service

Installation
Summary

Deploy a paid API endpoint that other agents can discover and pay for via x402 protocol.

  • Charges USDC per request on Base using HTTP 402 payment protocol; clients pay with signed transactions, no API keys or accounts required
  • Automatically registers endpoints with the x402 Bazaar for agent discovery when you declare discovery extensions
  • Supports multiple pricing tiers, wildcard routes, and multiple payment options per endpoint using Express middleware
  • Built on @x402/express and @x402/core libraries; integrates with Coinbase facilitator for mainnet production use
SKILL.md

Build an x402 Payment Server

Create an Express server that charges USDC for API access using the x402 payment protocol. Callers pay per-request in USDC on Base — no accounts, API keys, or subscriptions needed. Your service is automatically discoverable by other agents via the x402 Bazaar.

How It Works

x402 is an HTTP-native payment protocol. When a client hits a protected endpoint without paying, the server returns HTTP 402 with payment requirements. The client signs a USDC payment and retries with a payment header. The facilitator verifies and settles the payment, and the server returns the response. Services register with the x402 Bazaar so other agents can discover and pay for them automatically.

Confirm wallet is initialized and authed

npx awal@2.10.0 status

If the wallet is not authenticated, refer to the authenticate-wallet skill.

Step 1: Get the Payment Address

Run this to get the wallet address that will receive payments:

Related skills

More from coinbase/agentic-wallet-skills

Installs
2.7K
GitHub Stars
105
First Seen
Feb 10, 2026