Retrieve a credit transaction

Retrieve details of a specific credit transaction.

Path parameters

idstringRequired

The unique identifier of the transaction to retrieve (e.g., ct_1a2b3c4d5e6f7g8h)

Headers

AuthorizationstringRequired

Bearer token. Use Bearer YOUR_API_KEY.

Response

Transaction details.
idstring
Transaction ID.
organization_subscriptioninteger
Organization subscription ID.
unique_organization_idstring
Organization UUID.
amountdouble
Transaction amount in USD. Negative for deductions.
transaction_typeenum
Transaction type.
Allowed values:
created_atdatetime
Transaction timestamp.
expires_atdatetime or null

Expiration date for time-limited credits.

descriptionstring
Transaction description.
stripe_payment_intent_idstring

Stripe payment intent ID (for purchases).

metadataobject
Custom metadata.

Errors

401
Unauthorized Error
404
Not Found Error