l402-discover
Probe an endpoint to uncover L402 pricing before payment: returns cost in sats, payment methods, and credit tiers. Caches the challenge for a follow-up payment.
Instructions
Probe an endpoint to discover its L402 pricing without committing to payment. Returns the cost in sats, available payment methods, and credit tiers (if toll-booth server). The challenge is cached so a subsequent l402-pay can reuse it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to probe for L402 pricing | |
| method | No | HTTP method to use | GET |