<p>As far as I know, the sender cannot include a message with the payment. However, if you're looking to attach a payment purpose to a transaction such can be specified by the recipient:</p>

<p>In order to send a payment on the Lightning Network, the recipient must provide an invoice to the sender. The sender then uses the invoice to construct their payment.</p>

<p>The format of the invoice is specified in <a href="https://github.com/lightningnetwork/lightning-rfc/blob/master/11-payment-encoding.md" rel="nofollow noreferrer">BOLT #11: Invoice Protocol for Lightning Payments</a>. The invoice may include optional tagged fields. <a href="https://github.com/lightningnetwork/lightning-rfc/blob/master/11-payment-encoding.md#data-part" rel="nofollow noreferrer">The field tagged with <code>d</code> may be used to include a short description of the purpose of the payment.</a></p>

CC BY-SA 3.0
2018-04-16T08:57:21.080Z
If 2 people pay for a coffee at the same time, the only way to distinguish them from each other is by using multiple addresses?
Jeroen
CC BY-SA 3.0
2018-04-16T15:59:30.947Z
@Jeroen: No, you could include an ID in the invoice?
Murch
CC BY-SA 3.0
2018-04-16T19:41:54.947Z
I'm exploring a machine to machine solution with in-channel messaging,  via channels privacy can be guaranteed.
Jeroen
CC BY-SA 3.0
2018-04-16T05:23:26.183Z
2018-04-16T05:23:26.183Z
Murch
<p>Is it possible to send messages to a receiver address via lightning channels. For example Alice send 25000 Satoshi to Bob with the message 'thank you for the coffee'. </p>

<p>I'm trying to find information about this feature: <a href="https://github.com/lightningnetwork/lightning-rfc" rel="nofollow noreferrer">https://github.com/lightningnetwork/lightning-rfc</a></p>

<lightning-network><invoices>
In-channel messages via Lightning network
Jeroen
# In-channel messages via Lightning network

(Asked by: username_0 on 2018-04-15)

Is it possible to send messages to a receiver address via lightning channels. For example Alice send 25000 Satoshi to Bob with the message 'thank you for the coffee'.

I'm trying to find information about this feature: <https://github.com/lightningnetwork/lightning-rfc>

**Tags:** lightning-network, invoices


---

## 1 answers

### Answer by username_1 on 2018-04-16. Score: 1

As far as I know, the sender cannot include a message with the payment. However, if you're looking to attach a payment purpose to a transaction such can be specified by the recipient:

In order to send a payment on the Lightning Network, the recipient must provide an invoice to the sender. The sender then uses the invoice to construct their payment.

The format of the invoice is specified in [BOLT #11: Invoice Protocol for Lightning Payments](https://github.com/lightningnetwork/lightning-rfc/blob/master/11-payment-encoding.md). The invoice may include optional tagged fields. [The field tagged with `d` may be used to include a short description of the purpose of the payment.](https://github.com/lightningnetwork/lightning-rfc/blob/master/11-payment-encoding.md#data-part)

> **Comments:**
> **username_0**: If 2 people pay for a coffee at the same time, the only way to distinguish them from each other is by using multiple addresses?  
> **username_1**: @username_0: No, you could include an ID in the invoice?  
> **username_0**: I'm exploring a machine to machine solution with in-channel messaging,  via channels privacy can be guaranteed.  

---

