CreditsList transactions

List credit transactions

Paginated list of credit-consuming actions on your account, newest first.

curl "https://api.chuger.com/v1/credits/transactions?per_page=50" \
  -H "Authorization: Bearer YOUR_API_TOKEN"

Returns a paginated audit log of every credit-consuming action on your account, newest first. Useful for reconciliation, in-app usage dashboards, or troubleshooting where credits went.

GET https://api.chuger.com/v1/credits/transactions

All /v1/credits/* endpoints are free to call and not subject to per-minute rate limits.

Authentication

Bearer token in the Authorization header. See Authentication.

Query parameters

query
per_pageinteger

Items per page. Defaults to 20.

query
pageinteger

Page number (1-indexed). Defaults to 1.

Example

The response is a standard Laravel paginator with data, current_page, last_page, total, and links. Each data[] entry describes a single usage event — the service that was called, credits deducted, timestamp, and any related metadata.

Errors

StatusWhen
401Missing or invalid token
404The account associated with the token wasn't found

See Errors for the full reference.