Newer Version Available

This content describes an older version of this product. View Latest

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
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.

1{
2  "output": [
3    {
4      "transaction_date": "2023-01-01",
5      "transaction_identifier": "1",
6      "transaction_amount": 213.1,
7      "transaction_description": "t1"
8    },
9    {
10      "transaction_date": "2023-01-01",
11      "transaction_identifier": "2",
12      "transaction_amount": 150.94,
13      "transaction_description": "t2"
14    }
15  ]
16}