Strike icon

Strike

Interact with Strike API for Bitcoin and Lightning payments

Payment → Create LNURL Quote

AI-generated

Summary

Create a payment quote for sending a Lightning payment via LNURL to a specified Lightning Address or LNURL endpoint, specifying the amount and currencies for conversion.

Inputs

  • LN Address or LNURL (required) — The recipient's Lightning Address (e.g., user@domain.com) or LNURL string to identify the payment endpoint.
  • Amount (required) — The numeric amount to send to the recipient.
  • Amount Currency (required) — The currency of the amount the recipient expects, selectable from BTC, USD, EUR, or GBP.
  • Source Currency (required) — The currency you want to pay from, selectable from BTC, USD, EUR, or GBP.

Output shape

a single record (JSON object) containing the created LNURL payment quote details from Strike's API

The output includes details like the payment quote ID and pricing information. The operation sends a POST request to '/payment-quotes/lightning/lnurl' with the request body including the LN address or LNURL, amount, and currency info, then returns the API's response directly.

Examples

Example 1: Create an LNURL payment quote for sending 10 USD to user@domain.com paid from EUR.

Set 'LN Address or LNURL' to 'user@domain.com', 'Amount' to 10, 'Amount Currency' to 'USD', and 'Source Currency' to 'EUR'.

Discussion