<p>Yes. The payments on the Lightning Network are necessarily interactive, therefore the payee can just refuse the incoming payment.</p>
<p>Invoices are configured with an expiration date, such as the sender's wallet can warn the user if it has expired: no need to try to pay since the payee will just refuse the payment for sure.</p>

CC BY-SA 4.0
2022-02-10T12:13:27.900Z
@RenePickhardt C-lightning does via `delinvoice`. If you delete an invoice before it's expired, your node will effectively refuse the incoming payment. So you somehow "canceled" it.
Antoine Poinsot
CC BY-SA 4.0
2022-02-10T21:34:00.457Z
just deleted my comment. maybe you can add your comment to your response. I missed that API.
Rene Pickhardt
CC BY-SA 4.0
2022-02-10T08:27:48.327Z
2022-02-10T08:27:48.327Z
Antoine Poinsot
<p>Could the user who generates the invoice not just delete their secret so the payment would not be successful? Maybe there is a more eloquent way that wouldn't result in users funds being stuck for a period of time though but is cancelling a lightning invoice possible?</p>

<lightning-network><payment><lightning-routing><invoices>
Is it possible to cancel a lightning invoice?
bosch-0
# Is it possible to cancel a lightning invoice?

(Asked by: username_0 on 2022-02-10)

Could the user who generates the invoice not just delete their secret so the payment would not be successful? Maybe there is a more eloquent way that wouldn't result in users funds being stuck for a period of time though but is cancelling a lightning invoice possible?

**Tags:** lightning-network, payment, lightning-routing, invoices


---

## 1 answers

### Answer by username_1 on 2022-02-10. Score: 3

Yes. The payments on the Lightning Network are necessarily interactive, therefore the payee can just refuse the incoming payment.

Invoices are configured with an expiration date, such as the sender's wallet can warn the user if it has expired: no need to try to pay since the payee will just refuse the payment for sure.

> **Comments:**
> **username_1**: @username_2 C-lightning does via `delinvoice`. If you delete an invoice before it's expired, your node will effectively refuse the incoming payment. So you somehow "canceled" it.  
> **username_2**: just deleted my comment. maybe you can add your comment to your response. I missed that API.  

---

