Spark BTC
payLightningInvoice
Pay a Lightning Network invoice from a Spark wallet.
POST
Headers
ID of your Privy app.
Request authorization signature. If multiple signatures are required, they should be comma
separated.
Request expiry. Value is a Unix timestamp in milliseconds representing the deadline by which the
request must be processed.
Path Parameters
ID of the wallet to get.
These wallet methods are modeled after the Spark Wallet
SDK. For more
information about this wallet method, check out the Spark Wallet
documentation.
Body
Available options:
payLightningInvoiceAvailable options:
MAINNET, REGTESTReturns
Available options:
payLightningInvoiceIf
prefer_spark is false, a LightningSendRequest object with the following fields:If prefer_spark is true, the response will be a Transfer object with the following fields:
