pay_api
Calls paid API endpoints and automatically resolves HTTP 402 payment challenges with USDC on Base, keeping private keys safe.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The full URL of the API endpoint to call | |
| body | No | Request body (for POST/PUT/PATCH) | |
| method | No | HTTP method | GET |
| headers | No | Additional HTTP headers to include |