x402_create_paywall
Create paywalls by responding with HTTP 402 Payment Required, letting you charge crypto for your API and AI agent services.
Instructions
Generate an HTTP 402 Payment Required response for your own API endpoints. Use this to monetize your AI agent's services or API endpoints.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | Price to charge (e.g. '0.10') | |
| token | No | Token to accept | USDs |
| resource | No | Resource/endpoint identifier | |
| validFor | No | Payment validity period in seconds (default 5 min) | |
| description | No | Description of what the payment is for |