Create a lightning invoice

This API call is used to create a new lightning invoice which can be used for requesting and receiving payments over the lightning network.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
string

The value of the invoice in millisatoshis. Provide exactly one of valueMsat or valueSat. This field is not supported for Go wallets.

number

The value of the invoice in satoshis. Provide exactly one of valueMsat or valueSat.

string

Optional memo or description for the invoice

number

Optional expiry time in seconds. By default, the invoice will expire in 72 hours. This field is not supported for Go wallets - it is automatically set to the default.

Responses

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