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).
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 |