cancelrecurringinvoice

cancelrecurringinvoice -- Command for sending a cancel message for a recurring offer

SYNOPSIS

cancelrecurringinvoice offer recurrence_counter recurrence_label [recurrence_start] [payer_note] [bip353]

DESCRIPTION

Command added in v25.09.

NOTE: Recurring offers are experimental, and may be changed in backwards-incompable ways.

The cancelrecurringinvoice RPC command sends a cancellation message in place of an invoice_request. The BOLT 12 specification suggests sending this as a courtesy in place of the next invoice_request (as would be sent by fetchinvoice).

  • offer (string): Offer string (must be recurring) which we have been paying.
  • recurrence_counter (u64): One later than the last-specified recurrence_counter for the last invoice.
  • recurrence_label (string): This must be the same as prior fetchinvoice calls for the same recurrence, as it is used to link them together.
  • recurrence_start (number, optional): Indicates what period number to start at (usually 0). This will be the same as previous fetchinvoice calls.
  • payer_note (string, optional): To tell the issuer the reason for the cancellation.
  • bip353 (string, optional): BIP353 string (optionally with ₿) indicating where we fetched the offer from

RETURN VALUE

On success, an object is returned, containing:

  • bolt12 (string): The invoice_request we sent to the issuer.

AUTHOR

Rusty Russell <[email protected]> is mainly responsible.

SEE ALSO

lightning-fetchinvoice(7)

RESOURCES

Main web site: https://github.com/ElementsProject/lightning

Core Lightning is Blockstream's open-source implementation of the Lightning Network optimised for performance. It is highly customizable through modular expandability.

© 2023 Core Lightning
All rights reserved.

X Twitter Logo Streamline Icon: https://streamlinehq.com

X

The official Core Lightning X(Twitter) handle to follow project updates and announcements.

Github Logo 2 Streamline Icon: https://streamlinehq.com

Github

Github repository for source code, issues, and contributions. Visit our project here to explore or contibute.

Telegram

Community-driven telegram group where most of the node operators hang out. Go to https://t.me/lightningd to join.

Discord

Community-driven discord server where the devs flock together. Go to https://discord.gg/V6ay9yNhBQ to join.