List Invoices
List the invoices generated for your Nebula Block credit purchases.
Retrieve a paginated list of your invoices, including details such as the invoice ID, price, invoiced time, and invoice type.
HTTP Request
GET {API_URL}/users/invoices?limit={limit}&offset={offset}
limit
Optional
int
The number of records to display per page
offset
Optional
int
The starting point for record retrieval (i.e., how many records to skip before starting to display)
Response Attributes
data dict
invoices: List of user invoices objects.
total_invoices: total records count of user invoices.
Note: When the account has no invoices at all,
datais an empty list rather than an object with these keys, andstatusis stillsuccess. Handle both shapes.
status string
Indicates the result of the request. success signifies success, while failed indicates an error.
message string
A message confirming the successful retrieval of user invoices.
Example
Request
Response
Last updated