> ## Documentation Index
> Fetch the complete documentation index at: https://docs.whop.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve card transaction

> Retrieves a single card transaction by ID.

Required permissions:
 - `payout:account:read`



## OpenAPI

````yaml https://app.stainless.com/api/spec/documented/whopsdk/openapi.documented.yml get /card_transactions/{id}
openapi: 3.1.0
info:
  title: Whop API
  description: >-
    The Whop REST API. Please see
    https://docs.whop.com/developer/api/getting-started for more details.
  termsOfService: https://whop.com/tos-developer-api/
  version: 1.0.0
  x-api-version-date: '2026-06-09'
servers:
  - url: https://api.whop.com/api/v1
    description: Production Whop API
  - url: https://sandbox-api.whop.com/api/v1
    description: Sandbox Whop API
security: []
tags:
  - name: Products
    description: Products
  - name: Payments
    description: Payments
  - name: Refunds
    description: Refunds
  - name: Disputes
    description: Disputes
  - name: Dispute alerts
    description: Dispute alerts
  - name: Resolution center cases
    description: Resolution center cases
  - name: Checkout configurations
    description: Checkout configurations
  - name: Setup intents
    description: Setup intents
  - name: Payment methods
    description: Payment methods
  - name: Invoices
    description: Invoices
  - name: Promo codes
    description: Promo codes
  - name: Card transactions
    description: Card transactions
  - name: Ledger accounts
    description: Ledger accounts
  - name: Transfers
    description: Transfers
  - name: Withdrawals
    description: Withdrawals
  - name: Payout methods
    description: Payout methods
  - name: Verifications
    description: Verifications
  - name: Identity profiles
    description: Identity profiles
  - name: Payout accounts
    description: Payout accounts
  - name: Topups
    description: Topups
  - name: Companies
    description: Companies
  - name: Authorized users
    description: Authorized users
  - name: Fee markups
    description: Fee markups
  - name: Members
    description: Members
  - name: Memberships
    description: Memberships
  - name: Leads
    description: Leads
  - name: Entries
    description: Entries
  - name: Shipments
    description: Shipments
  - name: Reviews
    description: Reviews
  - name: Company token transactions
    description: Company token transactions
  - name: Affiliates
    description: Affiliates
  - name: Experiences
    description: Experiences
  - name: Forums
    description: Forums
  - name: Forum posts
    description: Forum posts
  - name: Chat channels
    description: Chat channels
  - name: Support channels
    description: Support channels
  - name: Messages
    description: Messages
  - name: Reactions
    description: Reactions
  - name: Dm members
    description: Dm members
  - name: Dm channels
    description: Dm channels
  - name: Notifications
    description: Notifications
  - name: Courses
    description: Courses
  - name: Course chapters
    description: Course chapters
  - name: Course lessons
    description: Course lessons
  - name: Course students
    description: Course students
  - name: Course lesson interactions
    description: Course lesson interactions
  - name: Apps
    description: Apps
  - name: Webhooks
    description: Webhooks
  - name: App builds
    description: App builds
  - name: Access tokens
    description: Access tokens
  - name: Account links
    description: Account links
  - name: Files
    description: Files
  - name: Ai chats
    description: Ai chats
  - name: Bounties
    description: Bounties
  - name: Stats
    description: Stats
  - name: Ad campaigns
    description: Ad campaigns
  - name: Ad groups
    description: Ad groups
  - name: Ads
    description: Ads
  - name: Conversions
    description: Conversions
  - name: Ad reports
    description: Ad reports
paths:
  /card_transactions/{id}:
    get:
      tags:
        - Card transactions
      summary: Retrieve card transaction
      description: |-
        Retrieves a single card transaction by ID.

        Required permissions:
         - `payout:account:read`
      operationId: retrieveCardTransaction
      parameters:
        - name: id
          in: path
          required: true
          description: The card transaction ID (citx_xxx).
          schema:
            type: string
      responses:
        '200':
          description: A successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CardTransaction'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      type:
                        type: string
                      message:
                        type: string
                      code:
                        type:
                          - string
                          - 'null'
                        description: >-
                          A short string indicating the specific error code,
                          e.g. 'parameter_missing', 'parameter_invalid',
                          'invalid_json'
                      param:
                        type:
                          - string
                          - 'null'
                        description: The parameter that caused the error, if applicable
                    required:
                      - type
                      - message
                required:
                  - error
              example:
                error:
                  type: invalid_request_error
                  code: parameter_missing
                  message: 'Missing required parameter: amount.'
                  param: amount
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      type:
                        type: string
                      message:
                        type: string
                      code:
                        type:
                          - string
                          - 'null'
                        description: >-
                          A short string indicating the specific error code,
                          e.g. 'parameter_missing', 'parameter_invalid',
                          'invalid_json'
                      param:
                        type:
                          - string
                          - 'null'
                        description: The parameter that caused the error, if applicable
                    required:
                      - type
                      - message
                required:
                  - error
              example:
                error:
                  type: unauthorized
                  message: Invalid or missing API key
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      type:
                        type: string
                      message:
                        type: string
                      code:
                        type:
                          - string
                          - 'null'
                        description: >-
                          A short string indicating the specific error code,
                          e.g. 'parameter_missing', 'parameter_invalid',
                          'invalid_json'
                      param:
                        type:
                          - string
                          - 'null'
                        description: The parameter that caused the error, if applicable
                    required:
                      - type
                      - message
                required:
                  - error
              example:
                error:
                  type: forbidden
                  message: You do not have permission to access this resource
        '404':
          description: Not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      type:
                        type: string
                      message:
                        type: string
                      code:
                        type:
                          - string
                          - 'null'
                        description: >-
                          A short string indicating the specific error code,
                          e.g. 'parameter_missing', 'parameter_invalid',
                          'invalid_json'
                      param:
                        type:
                          - string
                          - 'null'
                        description: The parameter that caused the error, if applicable
                    required:
                      - type
                      - message
                required:
                  - error
              example:
                error:
                  type: not_found
                  message: Resource not found
        '422':
          description: Verification required
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      type:
                        type: string
                      message:
                        type: string
                      code:
                        type:
                          - string
                          - 'null'
                        description: >-
                          A short string indicating the specific error code,
                          e.g. 'parameter_missing', 'parameter_invalid',
                          'invalid_json'
                      param:
                        type:
                          - string
                          - 'null'
                        description: The parameter that caused the error, if applicable
                    required:
                      - type
                      - message
                required:
                  - error
              example:
                error: null
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      type:
                        type: string
                      message:
                        type: string
                      code:
                        type:
                          - string
                          - 'null'
                        description: >-
                          A short string indicating the specific error code,
                          e.g. 'parameter_missing', 'parameter_invalid',
                          'invalid_json'
                      param:
                        type:
                          - string
                          - 'null'
                        description: The parameter that caused the error, if applicable
                    required:
                      - type
                      - message
                required:
                  - error
              example:
                error:
                  type: internal_server_error
                  message: An unexpected error occurred
      security:
        - bearerAuth:
            - payout:account:read
components:
  schemas:
    CardTransaction:
      type: object
      properties:
        id:
          type: string
          description: The unique identifier for the card transaction.
        usd_amount:
          type:
            - number
            - 'null'
          description: The transaction amount in USD.
          example: 6.9
        authorization_method:
          type:
            - string
            - 'null'
          description: How the card was presented or authenticated for the purchase.
          example: ecommerce
        created_at:
          type: string
          format: date-time
          description: The datetime the card transaction was created.
          example: '2023-12-01T05:00:00.401Z'
        card_id:
          type: string
          description: >-
            Represents a unique identifier that is Base64 obfuscated. It is
            often used to refetch an object or as key for a cache. The ID type
            appears in a JSON response as a String; however, it is not intended
            to be human-readable. When expected as an input type, any string
            (such as `"VXNlci0xMA=="`) or integer (such as `4`) input value will
            be accepted as an ID.
        cashback_usd_amount:
          type:
            - number
            - 'null'
          description: The cashback reward amount earned on this transaction, in USD.
          example: 6.9
        currency:
          type:
            - string
            - 'null'
          description: The ISO 4217 currency code for the transaction amount.
          example: USD
        declined_reason:
          type:
            - string
            - 'null'
          description: The issuer-provided reason the transaction was declined.
          example: insufficient_funds
        international:
          type: boolean
          description: >-
            Whether the transaction was made with a merchant outside the card's
            home country.
        local_amount:
          type:
            - number
            - 'null'
          description: >-
            The transaction amount in the merchant's local currency before
            conversion.
          example: 6.9
        memo:
          type:
            - string
            - 'null'
          description: A user-provided note attached to the transaction.
          example: Team dinner
        merchant_category:
          type:
            - string
            - 'null'
          description: The enriched or raw category label for the merchant.
          example: Software
        merchant_category_code:
          type:
            - string
            - 'null'
          description: The four-digit ISO 18245 merchant category code (MCC).
          example: '5734'
        merchant_icon_url:
          type:
            - string
            - 'null'
          description: A URL to the enriched merchant logo image.
          example: https://logo.clearbit.com/example.com
        merchant_name:
          type:
            - string
            - 'null'
          description: >-
            The enriched or raw name of the merchant where the purchase was
            made.
          example: Acme Corporation
        posted_at:
          type:
            - string
            - 'null'
          format: date-time
          description: When the transaction was settled by the card network.
          example: '2023-12-01T05:00:00.401Z'
        status:
          $ref: '#/components/schemas/CardIssuingTransactionStatus'
          description: The current lifecycle status of the transaction.
        transaction_type:
          type: string
          description: The type of transaction.
          example: spend
      required:
        - id
        - usd_amount
        - authorization_method
        - created_at
        - card_id
        - cashback_usd_amount
        - currency
        - declined_reason
        - international
        - local_amount
        - memo
        - merchant_category
        - merchant_category_code
        - merchant_icon_url
        - merchant_name
        - posted_at
        - status
        - transaction_type
      description: A card transaction record.
    CardIssuingTransactionStatus:
      type: string
      enum:
        - pending
        - completed
        - reversed
        - declined
      description: The lifecycle status of a card transaction.
  securitySchemes:
    bearerAuth:
      type: http
      description: >-
        A company API key, company scoped JWT, app API key, or user OAuth token.
        You must prepend your key/token with the word 'Bearer', which will look
        like `Bearer ***************************`
      scheme: bearer
      bearerFormat: auth-scheme

````