For the complete documentation index, see llms.txt. This page is also available as Markdown.

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}

Parameters
Requirements
Type
Description

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, data is an empty list rather than an object with these keys, and status is still success. 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