zunivo_paid_fetch
Call paid HTTP endpoints and automatically handle 402 payment required responses by paying the quoted USDC price from your wallet, then retry. Access services by full URL or .agent name with path.
Instructions
Call a paid HTTP API. If the server responds 402, pay the quoted USDC price from the agent wallet (within budget) and retry automatically. Target is either a full url, or an agent name + path. Returns status, body and the payment receipt if one was made.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | full URL of the paid endpoint | |
| body | No | request body for POST (JSON string) | |
| path | No | path appended to the agent's endpoint, e.g. /v1/data | |
| agent | No | .agent name — endpoint is discovered on-chain | |
| method | No | GET |