---
title: "Retrieve a credit transaction"
method: GET
path: "/api/credit-transactions/{id}/"
tags: ["creditTransactions"]
---

# Retrieve a credit transaction

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

Retrieve details of a specific credit transaction.

## Path parameters

- `id` string, required

## Headers

- `Authorization` string, required

## Response `200`

Transaction details.

- CreditTransactionsRetrieveCreditTransactionResponse200
  - `id` string — Transaction ID.
  - `organization_subscription` integer — Organization subscription ID.
  - `unique_organization_id` string — Organization UUID.
  - `amount` number, double — Transaction amount in USD. Negative for deductions.
  - `transaction_type` 'purchase' | 'grant' | 'adjustment' | 'refund' | 'bonus' — Transaction type.
  - `created_at` string, date-time — Transaction timestamp.
  - `expires_at` string, date-time, nullable — Expiration date for time-limited credits.
  - `description` string — Transaction description.
  - `stripe_payment_intent_id` string — Stripe payment intent ID (for purchases).
  - `metadata` ApiCreditTransactionsIdGetResponsesContentApplicationJsonSchemaMetadata — Custom metadata.

## Other responses

- `401` — Unauthorized
- `404` — Not Found

---

[API](https://skmtc.dev/keywordsai/apis/api-reference.md) · [All operations](https://skmtc.dev/keywordsai/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/keywordsai/api-reference/revisions/58a2eabdccf3/schema)
