A dispute is a cardholder's challenge to an AFT funding transaction they claim is invalid, fraudulent, or not owed. Disputes are raised through the card network (Visa or Mastercard), and Interchecks presents them to you through the Disputes API so you can accept or challenge them.
An AFT Funding Transaction, also called an Instant Funding Transaction, moves funds from the cardholder's debit card to your merchant account, and carries the payment method INSTANT_FUNDING.
Disputes are raised through the card network (Visa or Mastercard), and Interchecks presents them to you through the Disputes API so you can accept or challenge them.
The Disputes API is payer-facing and covers disputes on AFT Funding Transactions only. Disputes on OCT transactions are not available through it: Search Disputes leaves them out, and a request for one by ID returns 404.
The Disputes API is an add-on to the Payments API and has its own credentials. Use your dispute credentials for dispute calls and your payments credentials for payments calls. See Get Started to create them.
For a step-by-step walkthrough of handling a dispute, from the first webhook to the final outcome, see Disputes.
Every dispute has a status and a workflow stage. The status is a simple summary of where the dispute stands; the workflow stage is the detailed position in the card network's process. Several stages share the same status.
Dispute Statuses
A dispute's status shows where it is in the dispute lifecycle.
| Status | Description |
|---|---|
OPEN | A new dispute has been received and is awaiting your response. |
CHALLENGE_PENDING | Mastercard only. You have challenged the dispute and Mastercard is processing your evidence. If Mastercard rejects the evidence for technical reasons, the dispute stays in this status with corrective_action_required set to true until you resubmit corrected evidence. |
DISPUTED | The dispute is being contested and is waiting on the issuer, the card network, or (in pre-arbitration) on you. Check responsible_party to see who needs to act. |
WON | The dispute was resolved in your favor. |
LOST | The dispute was resolved against you. This includes disputes you accepted and disputes that closed because the response deadline passed without a response. |
Branch on the five values above. The enum carries additional values that the API does not currently return to payers; some are reserved for future behavior, as noted in the workflow stage tables. Several search types also filter on a combination of status and workflow stage rather than on status alone — PAYER_ACCEPTED, for example, returns LOST disputes in an ACQUIRER_ACCEPTED or PRE_ARBITRATION_ACQUIRER_ACCEPTED stage. See Search Disputes.
Dispute Workflow Stages
A dispute's workflow stage shows where it is in the card network's dispute process. Stages are named from the point of view of the two sides of a dispute: acquirer stages describe actions taken by you (the payer), and issuer stages describe actions taken by the cardholder's bank.
Not every dispute passes through every stage. The path depends on the card network and the type of dispute; workflow_type on the dispute tells you which process applies.
Initial Round
| Stage | Network | Description |
|---|---|---|
OPEN | All | The dispute has been received from the card network and is awaiting your response. |
ACKNOWLEDGED | Mastercard | The dispute has been acknowledged with Mastercard and is awaiting your response. You can accept or challenge it, as at OPEN. |
ACQUIRER_EVIDENCE_REVIEW | Mastercard | You have challenged the dispute and Mastercard is reviewing the evidence you submitted. If Mastercard rejects the evidence for technical reasons, the dispute remains in this stage until you resubmit corrected evidence. |
ACQUIRER_CHALLENGED | All | You have challenged the dispute. It is with the issuer, who can accept your challenge or escalate to pre-arbitration. |
ACQUIRER_ACCEPTED | All | You accepted the dispute. The case is closed in the cardholder's favor. |
ACQUIRER_DEFAULT_ACCEPTED | All | The response deadline passed without a response from you. The case is closed in the cardholder's favor. |
ACQUIRER_AUTO_ACCEPTED | None | Not currently in use. Reserved for future behavior. |
ISSUER_ACCEPTED | All | The issuer accepted your challenge. The case is closed in your favor. |
Pre-Arbitration
| Stage | Network | Description |
|---|---|---|
PRE_ARBITRATION_OPEN | All | The dispute has entered pre-arbitration, a second round of review. Depending on the network process, either the issuer has disputed your challenge and you must respond, or your challenge has been escalated and is awaiting the issuer. Check responsible_party to see who needs to act. |
PRE_ARBITRATION_ACQUIRER_EVIDENCE_REVIEW | Mastercard | You have responded in pre-arbitration and Mastercard is reviewing the evidence you submitted. If Mastercard rejects the evidence for technical reasons, the dispute remains in this stage until you resubmit corrected evidence. |
PRE_ARBITRATION_ISSUER_CHALLENGED | Visa | The issuer declined your pre-arbitration. You may accept the dispute or escalate it to arbitration. |
PRE_ARBITRATION_ACQUIRER_CHALLENGED | All | You have responded in pre-arbitration. It is with the issuer, who can accept your response or escalate to arbitration. |
PRE_ARBITRATION_ACQUIRER_ACCEPTED | All | You accepted the dispute during pre-arbitration. The case is closed in the cardholder's favor. |
PRE_ARBITRATION_ACQUIRER_DEFAULT_ACCEPTED | All | The pre-arbitration response deadline passed without a response from you. The case is closed in the cardholder's favor. |
PRE_ARBITRATION_ACQUIRER_AUTO_ACCEPTED | None | Not currently in use. Reserved for future behavior. |
PRE_ARBITRATION_ISSUER_ACCEPTED | All | The issuer accepted your pre-arbitration response. The case is closed in your favor. |
Arbitration
| Stage | Network | Description |
|---|---|---|
ARBITRATION_OPEN | All | The dispute has been escalated to the card network for a final ruling. |
ARBITRATION_ACQUIRER_RESPONSIBLE | All | The card network ruled that you are liable, you accepted the dispute during arbitration, or you withdrew. The case is closed in the cardholder's favor. |
ARBITRATION_ISSUER_RESPONSIBLE | All | The card network ruled that the issuer is liable, or the issuer withdrew. The case is closed in your favor. |
Responsible Party
responsible_party identifies who must act next.
| Value | Description |
|---|---|
PAYER | You must respond. |
ISSUER | Waiting on the cardholder's bank. |
PROVIDER | Waiting on the card network, for example while Mastercard reviews submitted evidence. |
ARBITRATOR | Waiting on the card network's arbitration ruling. |
NONE | No further action. The dispute is closed. |
UNKNOWN | The responsible party could not be determined. |
responsible_party_description gives the same information as a sentence, such as "Acme Payouts is Responsible for Accepting or Challenging Dispute." Once the response deadline has passed, it names the party without the actions, such as "Acme Payouts is the Responsible Party."
Dispute Provider
dispute_provider identifies the dispute platform the dispute is handled on: Visa or Mastercard. This is the platform, not the card brand. A Mastercard card can be disputed on Visa's platform, and the reverse. The platform determines the workflow stages, challenge reasons, and evidence rules that apply. dispute_provider is omitted if the platform has not been recorded.
Dispute Reason Codes
A reason code indicates why the cardholder is disputing the transaction. Reason codes are defined by each card network, so the same type of complaint carries a different code on Visa than on Mastercard.
Reason information appears in two places:
- On the dispute:
reasonis the card network's dispute reason. On Visa it is the dispute category —FRAUD,AUTHORIZATION,PROCESSING_ERRORorCONSUMER. On Mastercard it is the reason's label.reason_codeis the card network's code for it, for example10.4on Visa. - On your challenge: when you challenge a dispute, you select your own challenge reason, and in some cases a sub-reason, from the options returned by Get Available Dispute Actions.
The challenge reasons available depend on the card network, the dispute category, and the workflow stage. See Dynamic Action Schema for how to determine the options for a specific dispute. For a reference of reason codes by card network, see Dispute Reason Codes.
Deadline Semantics
Each dispute carries the deadline for your next response.
| Parameter | Description |
|---|---|
reply_by_date | The card network's deadline for you to accept or challenge the dispute in its current stage. If the deadline passes without a response, the dispute closes against you. |
response_due_in_days | Whole days remaining until reply_by_date. Zero or negative once the deadline has passed. |
corrective_action_due_date | Mastercard only. The deadline to resubmit corrected evidence after Mastercard rejects your evidence. Interchecks sets it when Mastercard rejects your evidence. Present only while corrective_action_required is true. |
The card networks set these deadlines. A new Visa dispute is due in 30 days and a new Mastercard dispute in 45 days, with later stages on their own network timeframes. Sandbox uses shortened deadlines so you can test them — see Testing.
Deadline Reminders
Interchecks can remind you as response deadlines approach. Reminders are sent by email and as a Dispute Reminder webhook.
| Reminder | When it is sent | reminder_type |
|---|---|---|
| Response deadline approaching | Two days before reply_by_date. | NETWORK_DUE_IN_2_DAYS |
| Response deadline tomorrow | One day before reply_by_date. | NETWORK_DUE_IN_1_DAY |
| Response deadline today | On the day of reply_by_date. | NETWORK_DUE_TODAY |
| Pre-arbitration started | When the dispute enters a pre-arbitration stage that requires your response. | PRE_ARBITRATION_START |
| Pre-arbitration deadline today | On the day of your pre-arbitration response deadline. | PRE_ARBITRATION_DUE_TODAY |
Reminders are configurable for your account. You can turn off any individual reminder, and you can enable or disable email delivery separately from webhook delivery. Contact your Interchecks account representative to change your reminder settings.
Dispute Schemas
The Disputes API returns disputes in two shapes: a lightweight summary from Search Disputes, and a full record from Get Dispute. The two shapes overlap but neither is a superset of the other. Webhook payloads are described on the Webhooks page.
Fields with no value are omitted from the response rather than returned as null.
Dispute Summary Schema
Returned by Search Disputes.
| Parameter | Type | Notes |
|---|---|---|
transaction_id | string | Transaction the dispute was raised against. Use this value in dispute API paths. |
public_dispute_id | string | Public dispute identifier. Use this value in dispute API paths. |
external_transaction_id | string | Retrieval reference number for the disputed transaction, as reported by the card network. |
case_number | string | Card network case or claim ID. |
amount_disputed | decimal | Amount being disputed. |
currency_iso_code | string | ISO 4217 currency code. Always USD. |
status | enum | See Dispute Statuses. |
kind | enum | Type of transaction disputed. Always AFT, for an AFT Funding Transaction. |
reason | string | Card network dispute reason. The dispute category on Visa, the reason label on Mastercard. See Dispute Reason Codes. |
reason_code | string | Card network reason code. |
dispute_provider | string | The dispute platform handling the dispute: Visa or Mastercard. See Dispute Provider. |
created_at | string (date) | When the dispute was created. |
received_date | string (date) | When the dispute was received from the card network. Currently always equal to created_at. |
reply_by_date | string (date) | Formatted MM/dd/yyyy. See Deadline Semantics. |
response_due_in_days | integer | See Deadline Semantics. |
last_modified_date | string (date) | When the dispute last changed. |
responsible_party | enum | See Responsible Party. |
responsible_party_description | string | Human-readable description of responsible_party. |
url | string | Link to Get Dispute for this dispute. |
Dispute Detail Schema
Returned by Get Dispute.
| Parameter | Type | Notes |
|---|---|---|
public_dispute_id | string | Public dispute identifier. |
case_number | string | Card network case or claim ID. |
amount_disputed | decimal | Amount being disputed. |
currency_iso_code | string | ISO 4217 currency code. Always USD. |
status | enum | See Dispute Statuses. |
current_workflow_stage | enum | See Dispute Workflow Stages. |
workflow_type | enum | The card network process governing the dispute: ALLOCATION or COLLABORATION for Visa, STANDARD for Mastercard. UNKNOWN if the network did not report one. |
kind | enum | Type of transaction disputed. Always AFT, for an AFT Funding Transaction. |
reason | string | Card network dispute reason. The dispute category on Visa, the reason label on Mastercard. See Dispute Reason Codes. |
reason_code | string | Card network reason code. |
dispute_provider | string | The dispute platform handling the dispute: Visa or Mastercard. See Dispute Provider. |
created_at | string (date) | When the dispute was created. |
received_date | string (date) | When the dispute was received from the card network. Currently always equal to created_at. |
reply_by_date | string (date) | ISO-8601 timestamp. See Deadline Semantics. |
response_due_in_days | integer | See Deadline Semantics. |
last_modified_date | string (date) | When the dispute last changed. |
corrective_action_required | boolean | Mastercard only. Present only while status is CHALLENGE_PENDING. true when Mastercard rejected your evidence and you must resubmit; false while Mastercard is still reviewing it. |
corrective_action_due_date | string (date) | See Deadline Semantics. |
responsible_party | enum | See Responsible Party. |
responsible_party_description | string | Human-readable description of responsible_party. |
processor_comments | string | Reserved for comments from the processor. Not currently populated. |
last_performed_by_name | string | Who performed the most recent action. Actions taken through the API are recorded as <Payer Name> API. |
transaction | object | The disputed transaction. See Transaction Schema. |
evidence | array | Evidence attached to the dispute by you or the issuer. See Evidence Schema. |
challenge_reasons | array | Challenges you have submitted, one entry per challenge. See Challenge Reason Schema. |
status_history | array | History of changes to the dispute. See Status History Schema. |
next_actions | array | Reserved. Not returned by Get Dispute. Use Get Available Dispute Actions. |
Transaction Schema
Nested within the Dispute Detail response. It summarizes the disputed transaction. For the full transaction record, call Retrieve Transaction with the dispute's transaction_id (the value used in dispute API paths), using your payments credentials.
| Parameter | Type | Notes |
|---|---|---|
transaction_id | string | Transaction identifier. |
public_id | string | Public transaction identifier. |
provider_reference_id | string | Payment provider's reference. Card transactions only. |
amount | decimal | Original transaction amount. |
currency_iso_code | string | ISO 4217 currency code. Always USD. |
created_at | string (date) | When the transaction was created. |
updated_at | string (date) | When the transaction was paid. |
reference_id | string | Your reference identifier for the transaction. |
purchase_order_number | string | Reserved. Not currently populated. |
payment_method | enum | Payment method used. For disputes this is a card funding method. |
integration_provider | string | The integration provider the transaction was paid out through, as shown in the Portal. For example, Visa Direct or Mastercard Send. |
card_last_four | string | Last four digits of the destination card. |
destination_account | string | Masked destination account the funds were sent to. |
transaction_status | string | Current status of the transaction. See Dispute-to-Settlement Timing. |
transaction_type | enum | CREDIT or DEBIT. |
network_approval_code | string | Card network authorization approval code. |
network_transaction_id | string | Card network transaction identifier. |
digital_wallet_type | enum | APPLE_PAY or GOOGLE_PAY. Omitted when no digital wallet was used. |
Evidence Schema
Nested within the Dispute Detail response.
| Parameter | Type | Notes |
|---|---|---|
public_evidence_id | string | Public evidence identifier. Use it to download or delete the evidence. |
url | string | Download link for the evidence file. Present on every record, including text-only records with no file; downloading one of those returns 404 ERR_EVIDENCE_NOT_FOUND. |
created_at | string (date) | When the evidence was attached. |
sent_to_processor_at | string (date) | When the evidence was submitted to the card network. Absent while the evidence is pending submission. Only pending evidence can be deleted. |
rejected_at | string (date) | Mastercard only. When Mastercard rejected the evidence. Rejected evidence stays on the dispute and cannot be deleted. |
rejection_reason | string | Mastercard only. Present when rejected_at is present. Mastercard does not provide a detailed reason, so this is currently always FAILED. See Correcting Rejected Evidence. |
responsible_party | enum | Who supplied the evidence. Only PAYER evidence can be deleted through the API. |
dispute_stage | enum | Workflow stage when the evidence was attached. |
file_name | string | Original file name. |
content_type | string | MIME type of the file. |
document_type | string | Evidence classification supplied at upload. |
performed_by_name | string | Who attached the evidence. API uploads are recorded as <Payer Name> API. |
The Upload Evidence response returns the same record plus public_dispute_id, transaction_id, and file_size (in bytes).
Challenge Reason Schema
Nested within the Dispute Detail response.
| Parameter | Type | Notes |
|---|---|---|
dispute_workflow_stage | enum | Workflow stage when the challenge was submitted. |
challenged_at | string (date) | When the challenge was submitted. |
parameters | array | The fields you submitted. Each entry is keyed by the field's code. A coded field also carries a <field_code>_description key with its human-readable value; a free-text field carries the text you entered. |
Status History Schema
Nested within the Dispute Detail response.
| Parameter | Type | Notes |
|---|---|---|
stage | enum | Workflow stage at the time of the entry. |
event_type | string | What happened. |
effective_date | string (date) | When the entry took effect. |
status | enum | Not populated for every entry. Use stage and event_type to follow the dispute's progress. |
performed_by_username | string | Public identifier of the user or API credential that acted. |
performed_by_name | string | Who acted. API actions are recorded as <Payer Name> API. |
Dynamic Action Schema
Valid actions, challenge reasons, and required fields vary by card network, dispute category, and workflow stage.
Interchecks supplies a list of valid challenge reasons by dispute category and provider. The list is not comprehensive and is subject to change based on the provider. We update this documentation as we identify new codes.
Use Get Available Dispute Actions to determine the set of options available for responding to a specific dispute. The response lists each action you can take and the inputs it requires. An empty list means the dispute is not currently actionable by you. The Challenge Dispute endpoint validates your submission against the same options.
Action Schema Fields
| Parameter | Type | Notes |
|---|---|---|
type | enum | ACCEPT, CHALLENGE, or RESUBMIT_EVIDENCE (Mastercard only, after Mastercard rejects your evidence). |
inputs | array | The inputs required to perform the action. |
Each entry in inputs describes one field. The type of the input determines which other properties are present.
| Parameter | Type | Notes |
|---|---|---|
type | enum | CODE, FREE_TEXT, or FILE_UPLOAD. |
field | string | The field this input populates. Send this as the field name. |
requirement | enum | REQUIRED, OPTIONAL, or NOT_APPLICABLE. |
values | array | CODE only. The permitted values. Each entry has a value to send and may carry its own nested inputs. |
max_length | integer | FREE_TEXT only. Maximum length of the text. Limits differ by card network. For example, Mastercard notes are limited to 100 characters. Longer text is rejected when you submit the challenge. |
max_file_size_mb | integer | FILE_UPLOAD only. Maximum file size in megabytes. |
allowed_file_types | array of string | FILE_UPLOAD only. Accepted MIME types. |
Nested Inputs
The values on a CODE input are recursive: each permitted value can carry its own inputs that apply only when that value is selected. For example, selecting a challenge reason may reveal a sub_reason_code input with its own permitted values, which may in turn reveal further fields.
When you submit a challenge, send values in the named fields (reason, sub_reason_code, explanation, notes) where the input's field matches. Send any other field in additional_parameters, a map of field code to string value. Unrecognized field codes are rejected.
FILE_UPLOAD inputs describe the evidence the challenge needs. Upload the file with the Upload Evidence endpoint before you submit the challenge; a challenge with no pending evidence is rejected.
Evidence
Evidence files must be PDF, JPEG or TIFF, no larger than 10 MB, with an extension of pdf, jpg, jpeg, tif or tiff. Files are virus-scanned after upload.
A dispute holds one pending evidence file at a time. If you have several documents, combine them into one file. There is no replace operation. To change a pending file, remove it with Delete Evidence and upload again. Pending evidence is sent with your challenge, and a challenge requires a pending evidence file.
Evidence on a dispute is not only yours. The issuer, the card network and the provider can all supply it, and responsible_party says which. Download Evidence retrieves a file by its evidence ID, and each evidence record carries a url pointing at the same file. Only evidence you supplied, and only while it is pending, can be deleted.
The total evidence on a dispute is limited to 14.5 MB on Mastercard and 50 MB on Visa. Rejected evidence still counts toward the limit. Mastercard images must also be 300 DPI or less and under 30,000,000 pixels.
Document Types
Classify each upload with documentType. Unrecognized or currently disabled values fall back to OTHER_ATTACHMENT.
| Document type | Use for |
|---|---|
CARDHOLDER_LETTER | Correspondence from the cardholder. |
BANK_STATEMENT | A statement showing the funds reaching the cardholder's account. |
AUTHORIZATION_RECORD | Evidence that the transaction was authorized. |
AFFIDAVIT_OF_FRAUD | A sworn statement relating to the fraud claim. |
TRANSACTION_RECEIPT | A receipt or confirmation for the transaction. |
OTHER_ATTACHMENT | Anything that does not fit the categories above. |
Correcting Rejected Evidence
Mastercard only. After you challenge a Mastercard dispute, Mastercard processes the evidence file you submitted against its technical standards. While it does, the dispute's status is CHALLENGE_PENDING and its stage is ACQUIRER_EVIDENCE_REVIEW or PRE_ARBITRATION_ACQUIRER_EVIDENCE_REVIEW.
If Mastercard cannot process your evidence, it rejects it. When that happens:
corrective_action_requiredon the dispute becomestrue, andcorrective_action_due_datecarries the deadline to resubmit.- Each rejected evidence record carries
rejected_atandrejection_reason. Rejected records stay on the dispute and cannot be deleted. - A
DISPUTE_UPDATEDwebhook is sent. - Get Available Dispute Actions returns a
RESUBMIT_EVIDENCEaction.
Your challenge reason stands. Only the evidence is resubmitted.
Mastercard Evidence File EvaluationMastercard does not evaluate the content of the evidence file in relation to winning or losing the dispute. This is a technical evaluation of the file provided to match it to the Mastercard internal file specifications. If your evidence file is rejected, it does not mean you have lost the dispute. If the evidence file is accepted, this does not mean you have won the dispute.
Why Evidence Is Rejected
Mastercard does not report a detailed reason, so check your corrected file against Mastercard's document requirements.
| Requirement | Limit |
|---|---|
| File type | PDF, JPEG, or TIFF. |
| File size | 10 MB per file. |
| Image resolution | 300 DPI or less. |
| Image size | Fewer than 30,000,000 pixels per document. |
| Total evidence per dispute | 14.5 MB across all evidence on the dispute. Rejected evidence still counts toward this limit. |
| Color | Color scans are a common cause of rejection. Submit black-and-white or grayscale scans. |
Interchecks checks file type, file size, image resolution, image size, and total size when you upload, and rejects a file that breaks a limit with the reason in error_message. A file that passes these checks can still be rejected by Mastercard.
How to Correct It
- Prepare a single corrected file that meets the requirements above. A dispute holds one pending evidence file at a time, so combine your documents into one file. Rejected files cannot be reused, so the corrected file must contain replacements for all of them.
- Upload the corrected file with Upload Evidence. If a pending file is already attached, remove it with Delete Evidence first — uploading a second pending file returns
409. - Call the Resubmit Corrected Evidence endpoint. It sends the pending file to Mastercard. The request has no body.
- Mastercard processes the corrected evidence asynchronously.
corrective_action_requiredreturns tofalsewhile it does. ADISPUTE_CLOSEDwebhook reports a final outcome, and aDISPUTE_UPDATEDwebhook reports any other result.
If you call Resubmit Corrected Evidence without uploading corrected evidence first, it returns 409 ERR_RESUBMIT_EVIDENCE_REQUIRED.
Failing to Resubmit an Evidence FileIf you do not resubmit your evidence file, you will almost certainly lose the dispute. The issuer can respond with Evidence Not Provided and Mastercard will close the dispute in their favor.
Dispute-to-Settlement Timing
Interchecks is notified of a dispute by the card network before the chargeback settles. Card providers generate settlement files once a day, and Interchecks processes each file when it becomes available. A dispute can be filed at any point during the day and always reaches Interchecks before the provider generates the settlement file that carries its chargeback. The gap between the two runs from about 2 hours to 24 hours, depending on where in the provider's cycle the dispute was filed.
During this window, the DISPUTE_OPENED webhook has already been sent, but Retrieve Transaction still returns the transaction as PAID. When the chargeback settles, the transaction moves to REVERSAL_PENDING and a Transaction webhook is sent. When the dispute is resolved, the transaction moves to REVERSED if you lost, or back to PAID if you won, and another Transaction webhook is sent.
Design your integration to treat dispute events and transaction status changes as independent signals, with a variable delay between them.
Dispute Webhooks
Interchecks sends five dispute webhook events. Webhooks are sent only for disputes on AFT Funding Transactions, and only if your account is subscribed to dispute webhooks. One subscription covers all five events. You can use webhooks, polling, or both.
Every event uses the same payload. Its webhook_type field names the event.
webhook_type | Description |
|---|---|
DISPUTE_OPENED | Sent once when a new dispute is received. |
DISPUTE_UNDER_REVIEW | Sent when you challenge a dispute or respond in pre-arbitration, and it moves to review by the issuer or card network. Sent once per challenge. |
DISPUTE_CLOSED | Sent when the dispute reaches a final outcome, WON or LOST. This includes disputes you accept and disputes that close because the response deadline passed. |
DISPUTE_UPDATED | Sent for any other change. Examples are the issuer opening pre-arbitration, escalation to arbitration, Mastercard rejecting your evidence, and your resubmission of corrected evidence. |
DISPUTE_REMINDER | Sent when a deadline reminder fires. The reminder_type field names the reminder. See Deadline Reminders. |
The payload shows the dispute as it is when the webhook is sent. Use webhook_type to learn what happened and status to learn where the dispute stands now.
Review the Webhooks documentation page for payload details and signature verification.
Dispute Error Codes
A comprehensive list of error codes and descriptions can be found at API Error Codes. 4xx responses follow a consistent format shown below.
{
"http_status": 4xx,
"error_code": "{error code}",
"error_message": "{error description}"
}Dispute-specific Error Codes
| Error Code | HTTP Status | Message | Notes |
|---|---|---|---|
ERR_DISPUTE_NOT_FOUND | 404 | "Dispute not found" | The dispute doesn't exist, doesn't belong to the given transaction, or isn't yours. |
ERR_EVIDENCE_NOT_FOUND | 404 | "Evidence file not found" | The evidence doesn't exist, doesn't belong to the dispute, or is a text-only record with no file. |
ERR_DISPUTE_NOT_ACTIONABLE | 409 | "This dispute is not currently actionable by you." | Accept, challenge, or resubmit was attempted when that action is not available. For example, the dispute is already resolved, the deadline has passed, or it is waiting on the issuer. Check Get Available Dispute Actions first. |
ERR_CHALLENGE_EVIDENCE_REQUIRED | 409 | Composed at runtime. | A challenge was submitted with no pending evidence attached. Upload evidence first. |
ERR_RESUBMIT_EVIDENCE_REQUIRED | 409 | Composed at runtime. | Mastercard only. Resubmit was called without uploading corrected evidence first. |
ERR_INVALID_PARAMETER | 400 | Composed at runtime. | A request failed validation: a challenge field doesn't match the dispute's action schema, the resubmit request had a body, or a search parameter is invalid. The message begins "Missing or invalid request parameters" followed by each violation. All violations are reported together. An invalid search type is named in the message along with the supported values; search types are case-sensitive. A challenge that breaks a card network rule, such as a text field over its max_length, returns the network rule's own message, for example "Notes must not exceed 100 characters." |
ERR_EVIDENCE_FILE_INVALID | 400 | Composed at runtime. | The evidence file is empty, too large, or not an allowed type or extension. The message states the reason. |
ERR_EVIDENCE_REJECTED | 400, 409, 503 | Composed at runtime. | The upload was rejected after validation (for example, it failed the virus scan, broke a card network document limit such as image resolution or total evidence size, the dispute no longer accepts evidence, or a pending evidence file is already attached), or the deletion was refused because the evidence isn't yours or has already been submitted. 503 means the file could not be virus-scanned because the scanner is unavailable or the scan timed out. Upload the same file again. |
Server Errors
The action endpoints can also fail after your request is accepted but before the card network confirms it.
| Endpoint | Status | What to do |
|---|---|---|
| Challenge Dispute | 500 | The challenge may or may not have reached the card network. Until the attempt is released, up to 15 minutes, a retry returns 409 ERR_DISPUTE_NOT_ACTIONABLE and the evidence cannot be deleted. Then fetch the dispute and check Get Available Dispute Actions before retrying. |
| Resubmit Corrected Evidence | 500 | Sending the corrected evidence to Mastercard failed. Retry later. Until the failed attempt is released, up to 15 minutes, a retry can return 409 ERR_DISPUTE_NOT_ACTIONABLE. |

