x402_pay_request
Send HTTP requests to premium APIs by automatically handling x402 cryptocurrency payment requirements. Specify URL, method, headers, and max payment to access paid endpoints.
Instructions
Make an HTTP request that automatically handles x402 (HTTP 402) payment requirements. Use this to access premium APIs that require cryptocurrency payment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to request | |
| body | No | Request body (for POST/PUT) | |
| method | No | HTTP method | GET |
| headers | No | Additional headers | |
| maxPayment | No | Maximum payment in USD (e.g. '0.50') | 1.00 |