Lightspark
Lightspark

Invoice

This object represents a Bolt #11 or Bolt #12 invoice created by a Lightspark Node. You can retrieve this object to receive relevant payment information for a specific invoice generated by a Lightspark node.Fields (8)
id
The unique identifier of this entity across all Lightspark systems. Should be treated as an opaque string.
created_at
The date and time when the entity was first created.
updated_at
The date and time when the entity was last updated.
The details of the invoice.
The status of the payment request.
amount_paid
CurrencyAmount (optional)
The total amount that has been paid to this invoice.
is_uma
Boolean (optional)
Whether this invoice is an UMA invoice or not. NOTE: this field is only set if the invoice was created using the recommended `create_uma_invoice` function.
is_lnurl
Boolean (optional)
Whether this invoice is an LNURL invoice or not. NOTE: this field is only set if the invoice was created using the recommended `create_lnurl_invoice` function.
Interfaces (2)
  • PaymentRequest
  • Entity