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

FreeBSD Manual Pages

  
 
  

home | help
LIGHTNING-WAITINVOICE(7)     lightning-waitinvoice    LIGHTNING-WAITINVOICE(7)

NAME
       lightning-waitinvoice - Command for waiting for specific	payment

SYNOPSIS
       waitinvoice label

DESCRIPTION
       The  waitinvoice	 RPC  command  waits until a specific invoice is paid,
       then returns that single	entry as per listinvoice.

RETURN VALUE
       On success, an invoice description will be returned as  per  lightning-
       listinvoice(7). The status field	will be	paid or	expired.

       On  error the returned object will contain code and message properties,
       with code being one of the following:

	      o	     -32602: If	the given parameters are wrong.

	      o	     -1: If the	invoice	is deleted while unpaid,  or  the  in-
		     voice does	not exist.

	      o	     903:  If the invoice expires before being paid, or	is al-
		     ready expired.

AUTHOR
       Christian Decker	_decker.christian@gmail.com> is	mainly responsible.

SEE ALSO
       lightning-waitanyinvoice(7), lightning-listinvoice(7), lightning-delin-
       voice(7), lightning-invoice(7)

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

						      LIGHTNING-WAITINVOICE(7)

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

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

home | help