Retrieve a credit transaction
Retrieve details of a specific credit transaction.
Authentication
AuthorizationBearer
Use your Respan API key for Respan API authentication. Enter only the Respan API key value; clients send Authorization: Bearer <RESPAN_API_KEY>. For /api/responses, OpenAI or Azure OpenAI provider credentials go in Settings -> Providers or the request body credential_override field, not in this auth field.
Path parameters
id
The unique identifier of the transaction to retrieve (e.g., ct_1a2b3c4d5e6f7g8h)
Response
Transaction details.
id
Transaction ID.
organization_subscription
Organization subscription ID.
unique_organization_id
Organization UUID.
amount
Transaction amount in USD. Negative for deductions.
transaction_type
Transaction type.
created_at
Transaction timestamp.
expires_at
Expiration date for time-limited credits.
description
Transaction description.
stripe_payment_intent_id
Stripe payment intent ID (for purchases).
metadata
Custom metadata.
Errors
401
Unauthorized Error
404
Not Found Error