pay_for_resource
Pay for and fetch paywalled resources using your own wallet key, with automatic payment rail discovery and a maximum price limit.
Instructions
Pay for and fetch a paywalled resource, returning its content + a settlement receipt.
Routes the payment through the rail the endpoint accepts; never pays more than max_price_usdc.
Uses the caller's OWN wallet key from APV0_BUYER_PRIVATE_KEY (non-custodial — this server never
holds or sees funds). task is appended as a query param for endpoints that take one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| task | No | ||
| max_price_usdc | No |