paywall_create_route
Create a pay-per-call endpoint secured by x402, settling USDC directly to your payout wallet and optionally proxying paid requests to your backend.
Instructions
[x402 Paywall] Paywall a new endpoint with x402 pay-per-call, settled in USDC straight to payTo. With upstreamUrl, paid requests are proxied to your backend. Applies live within ~20s (needs PAYWALL_API_KEY).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Route path, e.g. "/weather". | |
| asset | No | Payment token contract; defaults to USDC on the network. | |
| payTo | Yes | Your payout wallet (0x…). Settlement pays here directly; nothing is custodied. | |
| price | Yes | Decimal USD amount, e.g. "0.01" or "$0.01". | |
| method | No | Default GET. | |
| network | Yes | CAIP-2 id: Base mainnet eip155:8453, Base Sepolia eip155:84532. | |
| description | No | Up to 200 chars: letters, digits, space . _ - | |
| upstreamUrl | No | Your https backend. Omit for the demo confirmation payload. |