Plan Payment
AI-generatedSummary
Plans a payment for a URL without moving funds, checking the payment rails offered by the endpoint against the configured wallet’s balances, gas, and recipient readiness.
Inputs
- url (required) — URL to fetch. If it responds with HTTP 402, the operation analyzes the payment challenge; for an ungated URL, the plan is null.
Output shape
A single payment plan, or null when the URL is not payment-gated.
The plan reports whether payment is possible, the best payable rail, rail options with blockers and warnings, and a funding hint. It does not pay; use the selected rail with a payment-enabled fetch.