GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
LIGHTNING-LISTPAYS(7) lightning-listpays LIGHTNING-LISTPAYS(7)

lightning-listpays - Command for querying payment status

listpays [bolt11] [payment_hash] [status]

The listpay RPC command gets the status of all pay commands, or a single one if either bolt11 or payment_hash was specified. It is possible filter the payments also by status.

On success, an object containing pays is returned. It is an array of objects, where each object contains:

payment_hash (hex): the hash of the payment_preimage which will prove payment (always 64 characters)
status (string): status of the payment (one of "pending", "failed", "complete")
created_at (u64): the UNIX timestamp showing when this payment was initiated
destination (pubkey, optional): the final destination of the payment if known
label (string, optional): the label, if given to sendpay
bolt11 (string, optional): the bolt11 string (if pay supplied one)
bolt12 (string, optional): the bolt12 string (if supplied for pay: experimental-offers only).

If status is "pending" or "complete":

amount_sent_msat (msat): the amount we actually sent, including fees
amount_msat (msat, optional): the amount the destination received, if known

If status is "complete":

preimage (hex): proof of payment (always 64 characters)
number_of_parts (u64, optional): the number of parts for a successful payment (only if more than one).

If status is "failed":

erroronion (hex, optional): the error onion returned on failure, if any.

The returned array is ordered by increasing created_at fields.

Rusty Russell <rusty@rustcorp.com.au> is mainly responsible.

lightning-pay(7), lightning-paystatus(7), lightning-listsendpays(7).

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


Search for    or go to Top of page |  Section 7 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.