paywall_update_route
Updates an existing paywall route's price, payout wallet, or upstream URL without redeploying; changes apply live in about 20 seconds.
Instructions
[x402 Paywall] Partial update of a route (e.g. change price or payout wallet); applies live within ~20s (needs PAYWALL_API_KEY).
Use when you want to change a route's price, payout wallet or upstream without a redeploy. Not for creating or deleting routes.
Behavior: writes state upstream (not read-only); needs the credentials or wallet signature noted above where applicable.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "paywall_update_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Route id from paywall_list_routes. | |
| path | No | Route path, e.g. "/weather". | |
| asset | No | Payment token contract; defaults to USDC on the network. | |
| payTo | No | Your payout wallet (0x…). Settlement pays here directly; nothing is custodied. | |
| price | No | Decimal USD amount, e.g. "0.01" or "$0.01". | |
| method | No | Default GET. | |
| network | No | 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. |