[feature]: allow saving private notes for payments #9184
Labels
enhancement
Improvements to existing features / behaviour
P2
should be fixed if one has time
payments
Related to invoices/payments
Is your feature request related to a problem? Please describe.
Payee doesn't always put a good memo or any memo at all on invoices. Payer should have the ability to add their own notes for their own records to all outbound payments, whether success or failure.
Payee wants to store more detailed information or private information that can't be placed in the memo that is shared with the payer.
Describe the solution you'd like
Add an RPC command that allows me to attach a private note for any outbound payment, while sending payment and after payment.
Allow adding a private note when creating an invoice using AddInvoice and AddHoldInvoice .
Allow querying a list of inbound and outbound payments based on their private notes.
Describe alternatives you've considered
Separate databases. These are a nuisance because they require another database, daemon, network socket, and authentication setup for all users of the LND node to also manage private notes.
Additional context
Zeus has an option to store a private note, but the data does not persist on the LND node, it is only on the phone the note is written on (ZeusLN/zeus#2410) . This is just one example.
The text was updated successfully, but these errors were encountered: