Create Dispute
Files the dispute. Send the transactionId values from List Disputable Transactions in transaction_ids, the customer info, the selected dispute reason, and the questionnaire answers as question_uuid/answer pairs. Returns a DisputeSummary with the dispute's uuid (needed for Upload Files), shortId, resolutionDeadline, and any initial actions (e.g. issue provisional credit). Provide exactly one of transaction_ids or transaction_details; full transaction_details bodies remain supported for existing integrations.
Body·
- Properties: 7Type:customer
- Type: stringorg
Uuid - Properties: 4Type:questionnaire
Answers - Type: enumreason
DisputeReason is the dispute reason category. GetDisputeReasons returns the applicable parent categories; the specific sub-reason is resolved server-side from the questionnaire answers at Create time, so callers only ever submit a parent reason. Legacy reason values are normalized to this set before they reach the API, so these are the only values integrators see.
- DISPUTE_REASON_ACH_ISSUE: Unauthorized ACH debit. Other ACH problems use the more specific DISPUTE_REASON_ACH_* values.
- DISPUTE_REASON_ACH_CREDIT_ISSUE: Dispute about an ACH credit (incoming or outgoing credit entry), as opposed to the ACH_ISSUE_* family, which covers consumer debit disputes.
values- D
I S P U T E _ R E A S O N _ U N K N O W N - D
I S P U T E _ R E A S O N _ U N A U T H - D
I S P U T E _ R E A S O N _ M E R C H A N T _ I S S U E - D
I S P U T E _ R E A S O N _ A T M _ I S S U E - D
I S P U T E _ R E A S O N _ A C H _ I S S U E - D
I S P U T E _ R E A S O N _ T R A N S F E R _ I S S U E - D
I S P U T E _ R E A S O N _ A T M _ I S S U E _ C A S H _ N O T _ D I S P E N S E D - D
I S P U T E _ R E A S O N _ M E R C H A N T _ I S S U E _ G O O D S _ O R _ S E R V I C E S _ N O T _ R E C E I V E D
- Type:transaction
Details Properties: 18Legacy: full caller-supplied transaction data, still supported for existing integrations. New integrations should use transaction_ids. Provide exactly one of the two.
- Type: array of stringtransaction
Ids transaction_ids selects the transactions to dispute by id, using the transaction_id values returned by ListDisputableTransactions. Ids that fail the eligibility rules (unknown, already disputed, mixed rails) are rejected. Mutually exclusive with transaction_details.
Responses
- application/json
- application/json
curl /v1/disputes \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: YOUR_SECRET_TOKEN' \
--data '{
"customer": {
"accountUuid": "",
"address": {
"city": "",
"country": "",
"line1": "",
"line2": "",
"postalCode": "",
"state": ""
},
"email": "",
"externalIds": {
"additionalProperty": ""
},
"name": "",
"phone": "",
"uuid": ""
},
"orgUuid": "",
"questionnaireAnswers": [
{
"answer": "",
"question": "",
"questionId": "",
"questionUuid": ""
}
],
"reason": "DISPUTE_REASON_UNKNOWN",
"transactionDetails": [
{
"amount": {
"amountInCents": 1,
"currency": ""
},
"arn": "",
"authorizedTimestamp": "",
"cardId": "",
"cardLast4": "",
"cardType": "CARD_TYPE_UNKNOWN",
"ica": "",
"location": "",
"merchant": "",
"network": "TRANSACTION_NETWORK_UNKNOWN",
"rrn": "",
"settledTimestamp": "",
"status": "TRANSACTION_STATUS_UNKNOWN",
"transactionSettledAmount": {
"amountInCents": 1,
"currency": ""
},
"type": "TRANSACTION_TYPE_UNKNOWN",
"typeCode": "",
"uuid": "",
"visaTransactionId": ""
}
],
"transactionIds": [
""
]
}'
{
"dispute": {
"actions": [
"ACTION_NONE"
],
"agent": {
"email": "string",
"name": "string",
"phone": "string",
"uuid": "string"
},
"auditLog": [
{
"agentEmail": "string",
"createDispute": {
"actions": [
"ACTION_NONE"
]
},
"eventType": "DISPUTE_EVENT_TYPE_UNKNOWN",
"timestamp": "string"
}
],
"customer": {
"accountUuid": "string",
"address": {
"city": "string",
"country": "string",
"line1": "string",
"line2": "string",
"postalCode": "string",
"state": "string"
},
"email": "string",
"externalIds": {
"additionalProperty": "string"
},
"name": "string",
"phone": "string",
"uuid": "string"
},
"disputeReason": {
"displayMessage": "string",
"reason": "DISPUTE_REASON_UNKNOWN"
},
"files": [
{
"contentType": "string",
"fileUuid": "string",
"filename": "string",
"size": "string",
"uploadedAt": "string"
}
],
"reason": "DISPUTE_REASON_UNKNOWN",
"resolutionDeadline": "string",
"shortId": "string",
"status": "DISPUTE_STATUS_UNKNOWN",
"transactions": [
{
"amount": {
"amountInCents": 1,
"currency": "string"
},
"auditLog": [
{
"agentEmail": "string",
"eventType": "TRANSACTION_EVENT_TYPE_UNKNOWN",
"issueProvisionalCredit": {
"actions": [
"ACTION_NONE"
],
"amount": {
"amountInCents": 1,
"currency": "string"
}
},
"recordFinalDecision": {
"accepted": {
"merchantCredited": {
"amount": {
"amountInCents": 1,
"currency": "string"
},
"date": "string"
},
"partialMerchantCreditMadeWhole": true,
"type": "ACCEPTED_TYPE_UNKNOWN"
},
"actions": [
"ACTION_NONE"
],
"canceled": {
"type": "CANCELED_TYPE_UNKNOWN"
},
"denied": {
"type": "DENIED_TYPE_UNKNOWN"
},
"type": "RECORD_FINAL_DECISION_TYPE_UNKNOWN"
},
"timestamp": "string"
}
],
"finalCreditAmount": {
"amountInCents": 1,
"currency": "string"
},
"merchant": "string",
"provisionalCreditAmount": {
"amountInCents": 1,
"currency": "string"
},
"requiredActions": [
"REQUIRED_ACTION_NONE"
],
"reverseCreditAmount": {
"amountInCents": 1,
"currency": "string"
},
"settledTimestamp": "string",
"status": "DISPUTED_TRANSACTION_STATUS_UNKNOWN",
"transactionFinalStatus": "RECORD_FINAL_DECISION_TYPE_UNKNOWN",
"transactionStatus": "TRANSACTION_STATUS_UNKNOWN",
"uuid": "string"
}
],
"uuid": "string"
}
}