---
title: "Get a credit transaction"
method: GET
path: "/api/credit-transactions/{id}/"
tags: ["Credit Transactions"]
---

# Get a credit transaction

`GET /api/credit-transactions/{id}/`

## Request

- Base URL: `https://api.respan.ai`
- URL: `https://api.respan.ai/api/credit-transactions/{id}/`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Returns one credit transaction, such as a top-up or an adjustment. The monthly usage rows that List credit transactions returns (IDs like `usage_2026-09-30`) are summaries and can't be fetched here.

## Path parameters

- `id` string, required

## Response `200`

Transaction details.

- object
  - `id` string, required
  - `unique_organization_id` string, required
  - `amount` number, required
  - `transaction_type` string, required
  - `billable_type` string, required
  - `source_id` string, required
  - `credit_amount` number, required
  - `debit_amount` number, required
  - `description` string, required
  - `created_at` string, date-time, required

## Other responses

- `403`: The API key is missing, invalid or expired.
- `404`: Not Found

## Changes

- **2026-10-21** `c30bcb383ee8`: 3 breaking, 4 info
  - the `amount` response's property format changed from `double` to no format for status `200`
  - the `credit_amount` response's property format changed from `double` to no format for status `200`
  - the `debit_amount` response's property format changed from `double` to no format for status `200`
  - api operation id `creditTransactions_retrieveCreditTransaction` removed and replaced with `retrieveCreditTransaction`
  - …3 more
- **2026-10-02** `b830b79cfd52`: 2 info
  - added the non-success response with the status `403`
  - removed the non-success response with the status `401`
- **2026-09-17** `6fa8242da8c2`: 1 warning, 1 info
  - deleted the `header` request parameter `Authorization`
  - the endpoint scheme security `RespanApiKey` was added to the API
- **2026-09-12** `22b868ef3f22`: 1 info
  - api operation id `retrieve-credit-transaction` removed and replaced with `creditTransactions_retrieveCreditTransaction`

[Operation history](https://skmtc.dev/respan/apis/respan-api/changes/api/credit-transactions/:id/get.md)

---

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