/api/v2/wallet/{walletId}/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.
walletId
stringRequired59cd72485007a239fb00282ed480da1f
^[0-9a-f]{32}$
value
number required 50000
memo
string Latte macchiato
expiry
number 3600
memo
string Payment for the coffee
invoice
string required lnbc500n1p3zv5vkpp5x0thcaz8wep54clc2xt5895azjdzmthyskzzh9yslggy74qtvl6sdpdg3hkuct5d9hkugrxdaezqjn0dphk2fmnypkk2mtsdahkccqzpgxqyz5vqsp5v80q4vq4pwakq2l0hcqgtelgajsymv4ud4jdcrqtnzhvet55qlus9qyyssquqh2wl2m866qs5n72c5vg6wmqx9vzwhs5ypualq4mcu76h2tdkcq3jtjwtggfff7xwtdqxlnwqk8cxpzryjghrmmq3syraswp9vjr7cqry9l96
paymentHash
string required 63d9ce82e09d16761a85116ed8b65407db4fb22f85d03573de09c480f2c6d175
value
number required 50000
expiresAt
string required 2022-04-01T18:46:24.677Z
status
string required open
settled
canceled
walletId
string required 59cd72485007a239fb00282ed480da1f
^[0-9a-f]{32}$
name
string context
object required error
string required requestId
string required