Get Started
call(action, args)
getDisputeItems(caseId)
getEthocaAPIRequest(disputeItems, disputeType, namedCredential)
Custom Triggers
Custom Validation Rules
DPE and Monitor Workflow Services
API End-of-Life Policy
Previous Versions
getDisputeItems(caseId)Returns disputed transactions related to the specified Case ID. Called by the createDisputeItemMerchAlert, getAlertStatusDetails, getDisputeBatchDetails actions of the call method.
public static Map<String, Object> getDisputeItems(String caseId)
Type: String
The ID of the Case related to the disputed transactions.
Type: Map<String, Object>
Returns the disputed transactions related to the specified Case ID.
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}