Strike icon

Strike

Interact with Strike API for Bitcoin and Lightning payments

Currency Exchange → Create Quote

AI-generated

Summary

Create a currency exchange quote by specifying the sell and buy currencies, the amount to exchange, and which currency the amount refers to.

Inputs

  • Sell Currency — Select the currency you want to sell (BTC, USD, EUR, GBP). Defaults to USD.
  • Buy Currency — Select the currency you want to buy (BTC, USD, EUR, GBP). Defaults to BTC.
  • Amount (required) — Enter the amount to exchange, with up to 8 decimal places.
  • Amount Currency — Specify whether the amount is in the sell or buy currency. Defaults to sell.

Output shape

a single JSON object representing the created currency exchange quote

The output includes details of the quote returned from the Strike API's /currency-exchange-quotes endpoint. Errors will surface unless 'Continue On Fail' is enabled.

Discussion