Get credit transaction history for the authenticated userShows all credit additions and deductions including:
Trial credits
Stripe purchases
API usage
Admin adjustments
Refunds
Bonuses
Args: limit: Maximum number of transactions to return (default: 50) offset: Number of transactions to skip (default: 0) transaction_type: Optional filter by type (trial, purchase, api_usage, etc.) api_key: Authenticated user's API keyReturns: List of credit transactions with running balance
Request
Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Query Params
Responses
🟢200OK
application/json
Successful Response
Body
🟠422Unprocessable Entity
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://api.gatewayz.ai/user/credit-transactions?limit&offset&transaction_type' \
--header'Authorization: Bearer <token>'