Module command

Source
Expand description

Request, response, and command types for SDK operations. Lexe SDK API request and response types.

Structsยง

AnalyzeRequest
A request to analyze the contents of a Bitcoin or Lightning payment string. Reveals all payment methods encoded in the string, and gives payment-related details on each. See PayableDetails for more info.
AnalyzeResponse
The response to a string analysis request.
ClaimableDetails
Describes basic information for a claimable string.
CreateInvoiceRequest
A request to create a BOLT 11 invoice.
CreateInvoiceResponse
The response to a BOLT 11 invoice request.
CreateOfferRequest
A request to create a BOLT 12 offer to receive Lightning payments.
CreateOfferResponse
The response to a BOLT 12 offer creation request.
GetPaymentRequest
A request to get information about a payment by its index.
GetPaymentResponse
A response to a request to get information about a payment by its index.
GetUpdatedPaymentsRequest
Get a batch of payments in ascending updated_at order, starting from a given updated_at index.
GetUpdatedPaymentsResponse
A response to a GetUpdatedPaymentsRequest.
ListPaymentsResponse
Response from listing payments.
NodeInfo
Information about a Lexe node.
PayInvoiceRequest
A request to pay a BOLT 11 invoice.
PayLnurlRequest
A request to pay to an LNURL-pay endpoint.
PayOfferRequest
A request to pay a BOLT 12 offer over Lightning.
PayRequest
A catch-all request to pay a Bitcoin or Lightning payment string.
PayableDetails
Describes basic information for a payable string.
PaymentSyncSummary
Summary of changes from a payment sync operation.
UpdatePersonalNoteRequest
A request to update the personal note on an existing payment. Pass None to clear the note.
WithdrawLnurlRequest
A request to withdraw from an LNURL-withdraw endpoint.