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

# Get transaction status transition history

> Returns the audited timeline of status transitions for one transaction. Use this endpoint to explain current state and reconciliation progression.



## OpenAPI

````yaml /openapi/openapi.json get /partner/transactions/{id}/status-history
openapi: 3.1.0
info:
  title: CashWeb Partner API
  description: >-
    CashWeb Partner API enables crypto-to-fiat offramp transactions. Create
    quotes, manage transactions, receive lifecycle webhooks, and reconcile
    revenue.
  contact:
    name: Michael Anyi
    email: michael@cashweb.cash
  license:
    name: Proprietary
  version: 1.0.0
servers:
  - url: https://api-staging.cashweb.cash/api/v1
    description: Staging environment
  - url: https://api.cashweb.cash/api/v1
    description: Production environment
security: []
paths:
  /partner/transactions/{id}/status-history:
    get:
      tags:
        - Partner API
      summary: Get transaction status transition history
      description: >-
        Returns the audited timeline of status transitions for one transaction.
        Use this endpoint to explain current state and reconciliation
        progression.
      operationId: get_transaction_status_history
      parameters:
        - name: id
          in: path
          description: Partner transaction identifier
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: Status history retrieved
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/ApiResponse_PartnerTransactionStatusHistoryResponse
              example:
                data:
                  history:
                    - changed_at: '2026-02-12T12:04:10Z'
                      from_status: order_filled
                      metadata: null
                      reason: order:settled
                      to_status: completed
                  id: 01917f00-7b4c-7f56-8a2b-15998d58c9f3
                  status: completed
                success: true
        '401':
          description: Missing or invalid partner API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Transaction not found for this partner
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: NOT_FOUND
                  message: Transaction not found
                  timestamp: '2026-02-12T12:00:00Z'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - PartnerApiKey: []
components:
  schemas:
    ApiResponse_PartnerTransactionStatusHistoryResponse:
      type: object
      description: Standard API response wrapper for all successful responses
      required:
        - success
        - data
      properties:
        data:
          type: object
          description: Status history view for a partner transaction.
          required:
            - id
            - status
            - history
          properties:
            history:
              type: array
              items:
                $ref: '#/components/schemas/PartnerTransactionStatusHistoryItem'
              description: Descending timeline of status transitions.
            id:
              type: string
              format: uuid
              example: 01917f00-7b4c-7f56-8a2b-15998d58c9f3
            status:
              type: string
              description: >-
                Current transaction status.

                Allowed values: pending, awaiting_deposit, deposit_confirming,
                selling_crypto, order_filled,

                completed, failed, expired, cancelled, refunded.
              example: completed
        message:
          type:
            - string
            - 'null'
          description: Optional message for additional information
        success:
          type: boolean
          description: Indicates if the request was successful
          example: 'true'
    ErrorResponse:
      type: object
      description: Error response structure for OpenAPI documentation
      required:
        - error
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetails'
          description: Error details
    PartnerTransactionStatusHistoryItem:
      type: object
      description: Single audited status transition entry for a transaction.
      required:
        - from_status
        - to_status
        - changed_at
        - metadata
      properties:
        changed_at:
          type: string
          format: date-time
          description: Transition timestamp in UTC RFC3339.
          example: '2026-02-12T12:01:15Z'
        from_status:
          type: string
          description: >-
            Previous status. Null for the first recorded transition.

            Allowed values: pending, awaiting_deposit, deposit_confirming,
            selling_crypto, order_filled,

            completed, failed, expired, cancelled, refunded.
          example: awaiting_deposit
        metadata:
          description: Optional metadata for debugging and reconciliation.
        reason:
          type:
            - string
            - 'null'
          description: Best-effort reason code for the transition.
          example: webhook:deposit.successful
        to_status:
          type: string
          description: >-
            New status after this transition.

            Allowed values: pending, awaiting_deposit, deposit_confirming,
            selling_crypto, order_filled,

            completed, failed, expired, cancelled, refunded.
          example: deposit_confirming
    ErrorDetails:
      type: object
      description: Error details structure
      required:
        - message
        - code
        - timestamp
      properties:
        code:
          type: string
          description: Machine-readable error code
        message:
          type: string
          description: Human-readable error message
        timestamp:
          type: string
          format: date-time
          description: Timestamp when the error occurred
  securitySchemes:
    PartnerApiKey:
      type: apiKey
      in: header
      name: X-API-KEY

````