LIGHTNING-NOTIFI...-INVOICE_CREATION(7)
π LIGHTNING-NOTIFI...-INVOICE_CREATION(7) π
okay so bestie, you're looking at the lightning-notifi...-invoice_creation man page β yes the title is literally truncated with dots, that's just how the mpage vibes, don't come for her π«Ά β and honestly? it's a short one. a little snack. a mini read. we love a low-effort icon.
β¨ NAME β¨
invoice_creation β the notification that's like "hey girl, a new invoice just dropped" π
πΈ DESCRIPTION πΈ
so the invoice_creation notification is the lil ping you get whenever a new invoice is created. that's it. that's the whole job. she shows up, she tells you an invoice exists now, she leaves. main character energy but make it brief β¨
no cap, if you're listening for notifications, this one is basically the group chat notification going off every time somebody makes a new invoice. obsessed.
π¦ NOTIFICATION PAYLOAD π¦
here's the actual tea that shows up in the payload, item by item π
preimage(secret) β the payment preimage for the created invoice π like, the secret secret. guard it accordingly, bestie.label(string) β the label of the created invoice π·οΈ so you know which invoice we're talking about.msat(msat, optional) β the invoice amount, but only if the invoice amount was actually specified at creation time πΈ note the optional, okay? sometimes she just doesn't have an amount to give you and that's fine, we don't push.
lowkey important: msat is optional β if no amount was specified at creation time, it's simply not there. don't go looking for it and then get mad at the payload π
that's the whole page, bestie β short, sweet, and to the point, which is honestly rare in a man page. slay π
Core Lightning v26.06.9 β that's the version, mwah, and that's a wrap π§ββοΈπ
π¦ where this page comes from
- nixpkgs unstable: clightning 26.06.9
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms