l402_discover
Probe a URL to check L402 payment requirements before paying. Returns invoice, price in sats, and format so you can verify access cost.
Instructions
Probe a URL for L402 payment requirements without paying. Returns the invoice, price in sats, and format (lightning-labs or l402-protocol). Use this before l402_pay to check the cost of accessing a resource.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to probe for L402 payment requirements | |
| method | No | HTTP method to use for the probe request | GET |