Spark BTC
createLightningInvoice
Creates a Lightning invoice for the given wallet, allowing funds to be received via the Lightning Network.
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:
createLightningInvoiceAvailable options:
MAINNET, REGTESTParameters for the invoice to be created.
Returns
Always
"createLightningInvoice"Details about the created Lightning invoice.

