---
title: "Get Transaction History"
method: GET
path: "/credits/history"
tags: ["credits"]
---

# Get Transaction History

`GET /credits/history`

## Request

- Base URL: `https://studio-api.meganova.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://studio-api.meganova.ai/credits/history`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

Get current user's credit transaction history.

Returns:
    Paginated list of credit transactions

## Query parameters

- `page` integer
- `per_page` integer

## Response `200`

Successful Response

- TransactionHistoryResponse: Transaction history response.
  - `items` TransactionRecord[], required
    - `id` string, required
    - `transaction_type` string, required
    - `amount` number, required
    - `currency` string, required
    - `balance_before` number, required
    - `balance_after` number, required
    - `description` string, nullable, required
    - `status` string, required
    - `created_at` string, required
    - `metadata` object, nullable
  - `total` integer, required
  - `page` integer, required
  - `per_page` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/meganova/apis/meganova-api.md) - [All operations](https://skmtc.dev/meganova/apis/meganova-api/llms.txt) - [OpenAPI document](https://skmtc.dev/meganova/apis/meganova-api/revisions/c683584f6060?raw)
