You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.5 KiB
51 lines
1.5 KiB
6 years ago
|
LIGHTNING-LISTSENDPAYS(7)
|
||
7 years ago
|
========================
|
||
|
:doctype: manpage
|
||
|
|
||
|
NAME
|
||
|
----
|
||
6 years ago
|
lightning-listsendpays - Low-level command for querying sendpay status
|
||
7 years ago
|
|
||
|
SYNOPSIS
|
||
|
--------
|
||
6 years ago
|
*listsendpays* ['bolt11'] ['payment_hash']
|
||
7 years ago
|
|
||
|
DESCRIPTION
|
||
|
-----------
|
||
|
|
||
6 years ago
|
The *listsendpays* RPC command gets the status of all 'sendpay'
|
||
6 years ago
|
commands (which is also used by the 'pay' command), or with 'bolt11'
|
||
|
or 'payment_hash' limits results to that specific payment. You cannot
|
||
|
specify both.
|
||
|
|
||
|
Note that in future there may be more than one concurrent 'sendpay'
|
||
|
command per 'pay', so this command should be used with caution.
|
||
7 years ago
|
|
||
|
RETURN VALUE
|
||
|
------------
|
||
6 years ago
|
On success, an array of objects is returned. Each object contains:
|
||
|
|
||
|
'id':: unique internal value assigned at creation
|
||
|
'payment_hash':: the hash of the 'payment_preimage' which will prove payment.
|
||
|
'destination':: the final destination of the payment.
|
||
|
'amount_msat':: the amount the destination received, in "NNNmsat" format.
|
||
|
'created_at':: the UNIX timestamp showing when this payment was initiated.
|
||
|
'status':: one of 'complete', 'failed' or 'pending'.
|
||
|
'payment_preimage':: (if 'status' is 'complete') proves payment was received.
|
||
|
'label':: optional 'label', if provided to 'sendpay'.
|
||
|
'bolt11':: the 'bolt11' argument given to 'pay' (may be missing for pre-0.7 payments).
|
||
7 years ago
|
|
||
|
//FIXME:Enumerate errors
|
||
|
|
||
|
AUTHOR
|
||
|
------
|
||
|
Christian Decker <decker.christian@gmail.com> is mainly responsible.
|
||
|
|
||
|
SEE ALSO
|
||
|
--------
|
||
6 years ago
|
lightning-listpays(7), lightning-sendpay(7), lightning-listinvoice(7).
|
||
7 years ago
|
|
||
|
RESOURCES
|
||
|
---------
|
||
|
Main web site: https://github.com/ElementsProject/lightning
|