Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
LIGHTNING-DELINVOICE(7)	     lightning-delinvoice      LIGHTNING-DELINVOICE(7)

NAME
       lightning-delinvoice - Command for removing an invoice

SYNOPSIS
       delinvoice label	status

DESCRIPTION
       The  delinvoice	RPC command removes an invoice with status as given in
       listinvoices.

       The caller should be particularly aware of the error case caused	by the
       status changing just before this	command	is invoked!

RETURN VALUE
       On  success,  an	invoice	description will be returned as	per lightning-
       listinvoice(7).

ERRORS
       The following errors may	be reported:

	      o	     -1:  Database error.

	      o	     905:  An invoice with that	label does not exist.

	      o	     906:  The invoice status does not	match  the  parameter.
		     An	 error object will be returned as error	data, contain-
		     ing current_status	and expected_status fields.   This  is
		     most  likely  due	to  the	status of the invoice changing
		     just before this command is invoked.

AUTHOR
       Rusty Russell _rusty@rustcorp.com.au> is	mainly responsible.

SEE ALSO
       lightning-listinvoice(7),    lightning-waitinvoice(7),	 lightning-in-
       voice(7), lightning-delexpiredinvoice(7), lightning-autocleaninvoice(7)

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

						       LIGHTNING-DELINVOICE(7)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | ERRORS | AUTHOR | SEE ALSO | RESOURCES

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=lightning-delinvoice&sektion=7&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help