mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
36 lines
918 B
Plaintext
36 lines
918 B
Plaintext
LIGHTNING-LISTPAYMENTS(7)
|
|
========================
|
|
:doctype: manpage
|
|
|
|
NAME
|
|
----
|
|
lightning-listpayments - Command for querying payment status
|
|
|
|
SYNOPSIS
|
|
--------
|
|
*listpayments*
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
|
|
The *listpayments* RPC command gets the status of all 'pay' and
|
|
'sendpay' commands.
|
|
|
|
RETURN VALUE
|
|
------------
|
|
On success, an array of objects is returned. Each object contains an 'id' (unique internal value assigned at creation), 'payment_hash', 'destination', 'msatoshi' and 'timestamp' (UNIX timestamp indicating when it was initiated), and a 'status' which is one of 'pending' (in progress), 'complete' (successfully paid) or 'failed'.
|
|
|
|
//FIXME:Enumerate errors
|
|
|
|
AUTHOR
|
|
------
|
|
Christian Decker <decker.christian@gmail.com> is mainly responsible.
|
|
|
|
SEE ALSO
|
|
--------
|
|
lightning-pay(7), lightning-sendpay(7), lightning-listinvoice(7).
|
|
|
|
RESOURCES
|
|
---------
|
|
Main web site: https://github.com/ElementsProject/lightning
|