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

# List the case parties' other transactions

> Lists the other transactions involving the same parties — the customer and the counterparty, on either side — so a single payment can be judged against the pattern around it. Read-only.



## OpenAPI

````yaml /openapi/transaction-monitoring.json get /api/v1/alerts/groups/{transaction_id}/transaction-history/
openapi: 3.0.3
info:
  title: iDenfy Transaction Monitoring API
  version: v1
  description: >-
    Submit transactions and events for AML monitoring, and read back the alerts,
    cases and reports they produce.
servers:
  - url: https://ivs-tx-monitoring.idenfy.com
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Ingest
    description: Submit transactions and events for monitoring.
  - name: Transactions
    description: Read back submitted transactions and their rule hits.
  - name: Rules
    description: Detection rules evaluated against every submission.
  - name: Alerts
    description: Alerts opened when a rule matches.
  - name: Investigations
    description: Cases opened from one or more alerts.
  - name: SARs
    description: Suspicious activity reports and their attachments.
  - name: Sanctions screening
    description: Sanctions and PEP screening of transaction parties.
  - name: AML monitoring
    description: Ongoing AML monitoring of screened parties.
  - name: Party suspensions
    description: ''
  - name: Webhooks
    description: Outbound event delivery to your endpoints.
  - name: Custom fields
    description: Your own transaction attributes, declared so rules can match them.
  - name: Reference lists
    description: Named value lists rules can reference.
  - name: Notification rules
    description: Slack and email notifications for alerts.
  - name: Reports
    description: Generated compliance reports.
paths:
  /api/v1/alerts/groups/{transaction_id}/transaction-history/:
    get:
      tags:
        - Alerts
      summary: List the case parties' other transactions
      description: >-
        Lists the other transactions involving the same parties — the customer
        and the counterparty, on either side — so a single payment can be judged
        against the pattern around it. Read-only.
      operationId: alerts_groups_transaction_history_retrieve
      parameters:
        - in: path
          name: transaction_id
          schema:
            type: string
            format: uuid
            description: Transaction that triggered this alert
          required: true
          description: Identifies the transaction.
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TransactionHistory'
          description: ''
      security:
        - ApiKeyAuth: []
components:
  schemas:
    TransactionHistory:
      type: object
      properties:
        subjectTransactions:
          type: array
          items:
            $ref: '#/components/schemas/TransactionSummaryRow'
          description: The customer's latest 20 transactions, on either side
        counterpartyTransactions:
          type: array
          items:
            $ref: '#/components/schemas/TransactionSummaryRow'
          description: The counterparty's latest 20 transactions, on either side
        patternNotes:
          type: array
          items:
            type: string
        totalCount:
          type: integer
          description: Transactions involving either party, each counted once
      required:
        - counterpartyTransactions
        - patternNotes
        - subjectTransactions
        - totalCount
    TransactionSummaryRow:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
          description: Primary key
        amount:
          type: string
          format: decimal
          pattern: ^-?\d{0,12}(?:\.\d{0,8})?$
          readOnly: true
          nullable: true
        currency:
          type: string
          readOnly: true
          nullable: true
          description: ISO 4217 currency code, uppercased at ingest
        type:
          type: string
          readOnly: true
        status:
          allOf:
            - $ref: '#/components/schemas/StatusEa9Enum'
          readOnly: true
          description: >-
            Risk-evaluation state, set once rule evaluation for the transaction
            completes


            * `PROCESSING` - Processing

            * `PASSED` - Passed

            * `FLAGGED` - Flagged

            * `ALLOWED` - Allowed

            * `BLOCKED` - Blocked

            * `REJECTED` - Rejected

            * `FAILED` - Failed
        createdAt:
          type: string
          format: date-time
          readOnly: true
      required:
        - amount
        - createdAt
        - currency
        - id
        - status
        - type
    StatusEa9Enum:
      enum:
        - PROCESSING
        - PASSED
        - FLAGGED
        - ALLOWED
        - BLOCKED
        - REJECTED
        - FAILED
      type: string
      description: |-
        * `PROCESSING` - Processing
        * `PASSED` - Passed
        * `FLAGGED` - Flagged
        * `ALLOWED` - Allowed
        * `BLOCKED` - Blocked
        * `REJECTED` - Rejected
        * `FAILED` - Failed
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````

## Related topics

- [List transactions](https://documentation.idenfy.com/api-reference/transaction-monitoring/transactions/list-transactions.md)
- [List refused transactions](https://documentation.idenfy.com/api-reference/transaction-monitoring/party-suspensions/list-refused-transactions.md)
- [List cases](https://documentation.idenfy.com/api-reference/transaction-monitoring/alerts/list-cases.md)
- [List submitted transactions](https://documentation.idenfy.com/api-reference/transaction-monitoring/ingest/list-submitted-transactions.md)
- [List party suspensions](https://documentation.idenfy.com/api-reference/transaction-monitoring/party-suspensions/list-party-suspensions.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.