Invoices
List invoices
Changed onReturns all the invoices given a filter
get/v1/invoices
Request
- The document declares no server URL.
- Auth: HTTP bearer
Query parameters
limitinteger nullable
Total amount of results to return
offsetinteger nullable
Offset where to start returning results
idsstring[] nullable
List of IDs
wallet_idstring uuid nullable
Wallet ID. Automatically populated with your ID
status'Pending' | 'Settled' | 'Expired'
Lifecycle status of an invoice.
Status
ledger'Lightning' | 'Internal' | 'Onchain'
The ledger a transaction settles on.
Ledger
order_by'CreatedAt' | 'PaymentTime' | 'UpdatedAt'
Field to order invoices by.
Order by
order_direction'Asc' | 'Desc'
Direction of result ordering for list endpoints.
Direction of the ordering of results
Response
Success
Example response
[
{
"ln_invoice": {
"bolt11": "lnbcrt1m1png24kasp5...",
"expiry": 3600,
"min_final_cltv_expiry_delta": 10,
"payee_pubkey": "02086a3f5b67ac4c43...",
"payment_hash": "b587c7f76339e3fb87ad2b...",
"payment_secret": "019a32e03bb375a42bc..."
}
}
]Changes
- breaking
removed the required property
/from the response with the status
- breaking
- breaking
added to the
/response propertyoneOflist for the response status - info
added the optional property
/to the response with the status - info
removed from the
/response propertyoneOflist for the response status
- breaking