Strike icon

Strike

Interact with Strike API for Bitcoin and Lightning payments

Payment → Create Lightning Quote

AI-generated

Summary

Create a Lightning Network payment quote for a specified BOLT11 invoice, optionally specifying the source currency to pay from.

Inputs

  • Lightning Invoice (BOLT11) (required) — The BOLT11 lightning invoice to pay
  • Source Currency — Currency to pay from; options include BTC, USD, EUR, GBP (default is USD)

Output shape

a single JSON object representing the created Lightning payment quote

The response includes the payment quote details returned from the Strike API; the operation expects the BOLT11 invoice as mandatory input and optionally the source currency; errors result in exceptions unless 'Continue On Fail' is enabled, in which case error information is returned in place of the data.

Discussion