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

Get Payment History

Retrieve the history of credit purchases and deductions on your account.

Retrieve your credit payment history for different products.

HTTP Request

GET {API_URL}/users/credits/history?limit={limit}&offset={offset}

  • limit: Specifies the number of records to display per page.

  • offset: Specifies the starting point for record retrieval (i.e., how many records to skip before starting to display).

Response Attributes

data dict

  • credit_balance: User available credit amount.

  • credit_history: List of credits hourly transaction history.

  • total_credit_histories: Total history count.

status string

Indicates the result of the request. success signifies success, while failed indicates an error.

message string

A description of the status of the request.

Example

Request

Response

Last updated