---
schema_version: "1"
id: 8accb5a5efa561c358d6b6eb0d8d0bea2acdd06fffba1bb2c191a1f230e97d79
title: getDisputeItems(caseId)
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/financial_services_cloud_object_reference/apex_disputemanagement_DisputeMgmtHelper_getDisputeItems.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/apex_disputemanagement_DisputeMgmtHelper_getDisputeItems.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 80713137e588d0eb3b8f3fb01b38fb3a78af3937a2e085a5c00de84364316438
description: Returns disputed transactions related to the specified Case ID. Called by the createDisputeItemMerchAlert, getAlertStatusDetails, getDisputeBatchDetails actions of the call method.
---
# getDisputeItems(caseId)

Returns disputed transactions related to the specified Case ID. Called by the createDisputeItemMerchAlert, getAlertStatusDetails, getDisputeBatchDetails actions of the call method.

## Signature

public static Map<String, Object\> getDisputeItems(String caseId)

## Parameters

caseId

Type: [String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm)

The ID of the Case related to the disputed transactions.

## Return Value

Type: Map<String, Object>

Returns the disputed transactions related to the specified Case ID.

## Example

Here is sample output. The keys correspond to DisputeItem object fields.

{
  "output": \[
    {
      "transaction\_date": "2023-01-01",
      "transaction\_identifier": "1",
      "transaction\_amount": 213.1,
      "transaction\_description": "t1"
    },
    {
      "transaction\_date": "2023-01-01",
      "transaction\_identifier": "2",
      "transaction\_amount": 150.94,
      "transaction\_description": "t2"
    }
  \]
}