Strike icon

Strike

Interact with Strike API for Bitcoin and Lightning payments

Payment → Create On-Chain Quote

AI-generated

Summary

Create an on-chain Bitcoin payment quote by specifying the Bitcoin address, amount, and currencies involved to obtain payment details before initiating the transfer.

Inputs

  • Bitcoin Address (required) — The Bitcoin address to send the payment to.
  • Source Currency (required) — Currency you will pay from (BTC, USD, EUR, GBP). Defaults to USD.
  • Amount (required) — The numeric value of the amount to send, with up to 8 decimal places.
  • Amount Currency (required) — Currency of the amount specified (BTC, USD, EUR, GBP). Defaults to BTC.

Output shape

a single object containing the payment quote details from Strike's API.

The returned data includes the quote information needed to execute the on-chain Bitcoin payment. No pagination applies to this call. Errors will be thrown if input parameters are invalid or if the API request fails.

Discussion