Cards

Retrieve Card Transaction

Changed on

Retrieves a single card transaction from any card the owner has ever had, including canceled cards. Team members can retrieve only transactions on the cards assigned to them.

get/card_transactions/{id}

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    HTTP bearer

Path parameters

id, string required

The card transaction ID, prefixed citx_.

Query parameters

account_id, string

The account that owns the transaction, prefixed biz_. Provide this or user_id. Defaults to the credential's account.

user_id, string

The user that owns the transaction, prefixed user_. Provide this or account_id. Only that user can read it.

Headers

Api-Version-Date, string
Example:2026-11-30

Pins the request to a dated API version.

Response

card transaction found

CardTransaction required
card_id, string required

The card this transaction was charged to, prefixed icrd_.

cardholder_id, string nullable required

The user the card is assigned to, prefixed user_. Null when the card has no assigned cardholder.

cashback_usd_amount, number nullable required

Cashback earned on this transaction as a USD amount. Zero for declined or ineligible transactions, and null when cashback has not been computed yet.

created_at, string required

When the transaction was authorized, as an ISO 8601 timestamp.

currency, string nullable required

ISO 4217 currency code the merchant charged in.

declined_reason, string nullable required

Why the transaction was declined. Null unless status is declined.

id, string required

Card transaction ID, prefixed citx_.

international, boolean required

True when the merchant is outside the card's home country.

levels_points, number nullable required

Whop Levels points this transaction earned for the business. Negative for a refund that takes them back. For a pending transaction, the points it will earn once it settles. Null when it earns none, such as a declined transaction.

local_amount, number nullable required

Amount the merchant charged in their own currency. Pair with currency.

merchant_category, string nullable required

Merchant category label, enriched where available and otherwise as the card network reported it.

merchant_category_code, string nullable required

Four-digit ISO 18245 merchant category code (MCC).

merchant_icon_url, string nullable required

URL of the enriched merchant logo. Null when no logo was matched.

merchant_name, string nullable required

Merchant name, enriched where available and otherwise as the card network reported it.

posted_at, string nullable required

When the card network settled the transaction, as an ISO 8601 timestamp. Null until it settles.

status, 'pending' | 'completed' | 'reversed' | 'declined' required

Current status of the transaction.

transaction_type, 'spend' required

The kind of card transaction. Always spend today.

usd_amount, number nullable required

Amount charged in USD. Negative when the merchant refunded the card.

Example response

{
  "card_id": "icrd_xxxxxxxxxxxxxx",
  "cardholder_id": "user_xxxxxxxxxxxxxx",
  "cashback_usd_amount": 0.25,
  "created_at": "2026-01-01T12:00:00.000Z",
  "currency": "EUR",
  "declined_reason": "account_credit_limit_exceeded",
  "id": "citx_xxxxxxxxxxxxxx",
  "international": true,
  "local_amount": 22.5,
  "merchant_category": "Car Care Supplies",
  "merchant_category_code": "5533",
  "merchant_icon_url": "https://shinetime.example/icons/lone-star-detail-supply.png",
  "merchant_name": "Lone Star Detail Supply",
  "posted_at": "2026-01-01T12:00:00.000Z",
  "status": "completed",
  "transaction_type": "spend",
  "usd_amount": 24.99
}

Changes