l402_discover
Probe a URL for L402 payment requirements. Get the invoice, price in sats, and format to know access costs before paying.
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 | GET |