GET
Fetch lightning payments
This API call is used to fetch current lightning payments over the lightning network.
Path Params
-
walletIdstring required
Query Params
-
statusstring enumin_flightsettledfailed -
limitstring number -
startDatestring date-time -
endDatestring date-time -
paymentHashstring -
prevIdstring
Responses
200
OK
Response Body
object
-
paymentsarray of objects requiredpayments object
-
idstring required -
paymentHashstring required -
walletIdstring required -
txRequestIdstring required -
statusstring enum requiredin_flightsettledfailed -
invoicestring required -
feeLimitMsatstring number required -
destinationstring required -
updatedAtstring date-time required -
createdAtstring date-time required -
amountMsatstring number required -
feeMsatstring number -
failureReasonstringONE OF
string enum
string enum
string enum
string enum
string enum
-
paymentPreimagestring
-
-
nextBatchPrevIdstring
400
Bad Request
Response Body
ONE OF
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id
-
namestring enum requiredInvalidWalletId -
contextobject requiredcontext object
-
idstring required
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id
404
Not Found
Response Body
object
-
namestring enum requiredInvalidWalletId -
contextobject requiredcontext object
-
idstring required
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id
500
Internal Server Error
Response Body
object
-
namestringError code -
contextmap of objects requiredProperties that apply to a specific error namecontext object
-
<key>object
-
-
errorstring requiredHuman-readable error message -
requestIdstring requiredClient request id