l402_pay
Automatically pay Lightning invoices to access L402-protected URLs, reusing cached tokens and returning the response data.
Instructions
Access an L402-protected URL by automatically paying the Lightning invoice. Checks the token cache first to avoid re-paying. Returns the response data from the protected resource after successful payment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to access (will pay L402 if required) | |
| force | No | ||
| method | No | GET | |
| dry_run | No | ||
| wallet_id | Yes | Blink BTC wallet ID to pay from | |
| max_amount_sats | No |