Pass Purchase
v1_pass_purchasePurchase a prepaid x402 route pass with configurable validity, call count, and route scope to cover multiple paid API calls under a spending tier.
Instructions
Pass Purchase
Remote route: POST /v1/pass/purchase (25.00 USD x402/base/usdc on eip155:8453).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "v1_pass_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl_days | No | How many days the pass is valid for. Default 30. | |
| calls_total | No | How many calls the pass buys. Default 1,000. | |
| route_scope | No | Which routes the pass covers. 'micro_le_0.25' = any live paid route priced at or below $0.25. | micro_le_0.25 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No |