Generate Invoice

Generates a Lightning Network deposit invoice

❗️

Creating a deposit address

If this is the first time you are generating an LNX invoice on your account, you will first need to create a deposit address. To do this, call w/deposit/address with { method: 'LNX', wallet: 'exchange' }

Response data

Index Field Type Description
[0] INVOICE_HASH String Hashed invoice
[1] INVOICE String Requested invoice
[ . . . ]
[4] AMOUNT String Amount of invoice
Body Params
string
required
Defaults to exchange

Select the wallet that will receive the invoice payment. Currently only 'exchange' is available

string
required
Defaults to LNX

Select the currency for which you wish to generate an invoice. Currently only LNX (Bitcoin Lightning Network) is available.

string
required
Defaults to 0

Amount that you wish to deposit (in BTC; min 0.000001, max 0.02)

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json