pay_url
Call any HTTP(S) URL and automatically settle x402 micropayment challenges, returning the HTTP response with a payment receipt.
Instructions
Call an arbitrary HTTP(S) URL and automatically satisfy a supported x402 exact-payment challenge. Defaults to a $0.10 ceiling, uses the configured allowance wallet, forwards Idempotency-Key, and returns the HTTP response plus a structured payment receipt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The HTTP(S) URL to call | |
| body | No | Request body as text or a JSON object | |
| method | No | HTTP method (default: GET) | |
| max_usd_micros | No | Maximum payment in USD micros (default: 100000, or $0.10) | |
| idempotency_key | No | Stable Idempotency-Key forwarded to the seller; on Run402 pending, retry the identical call with the same payer and key | |
| require_receipt | No | Require a verified wallet-rooted merchant offer before payment and a matching receipt after settlement |