Disputes
A dispute is a cardholder's claim, raised through Visa or Mastercard, that a transaction should not stand. Interchecks receives it from the card network and presents it to you through the Disputes API.
This guide walks the dispute end to end: how you learn about one, how you decide what to do, how you respond, and how it closes. For the reference material behind each step, see About Disputes and Dispute Reason Codes.
The Disputes API 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.
Before you start
Credentials
The Disputes API is an add-on to the Payments API and has its own credentials. A call made with your payments credentials returns 403.
Create an API Dispute Account in the Payer Portal alongside your existing API Account. Sandbox and production have separate credentials, so a dispute integration running in both environments uses four sets: payments and disputes in each.
You need both sets at runtime. Get Dispute includes the disputed transaction's main fields, such as its amount, status, payment method and network IDs, but not the full transaction record. For anything else about the transaction, call the Payments API with your payments credentials.
See Get Started to create the credentials and request a token.
Access tokens
Access tokens last 15 minutes, and the Payments API and the Disputes API each need their own.
A token outlives a single dispute action but not a long-running process. An integration that polls on a 30-minute cadence re-authenticates between polls. Cache each token with its expiry and request a new one before the current one expires, rather than waiting for a 401.
Webhooks
Configure your webhook endpoint under Developers > API Webhooks in the Payer Portal before you expect disputes, and tick Dispute updates on the endpoint. Without that subscription, no dispute webhooks are sent. See Webhooks.
The shape of the workflow
Every dispute follows the same loop. You learn that something changed, you ask what you can do, and you do it.
- Interchecks sends a webhook, or you find the dispute through Search Disputes.
- You call Get Available Dispute Actions to see what the card network currently allows.
- You accept the dispute, or you add evidence and challenge it.
- The card network responds, and the dispute either closes or comes back to you.
A dispute can come back to you more than once. Mastercard can reject your evidence and ask for a corrected file. The issuer can contest your challenge and take the dispute into pre-arbitration, and from there to arbitration. Each time it comes back, start again at step 2.
1. Learn about the dispute
Interchecks sends a DISPUTE_OPENED webhook when a dispute is raised, and further webhooks as it changes. The payload carries the dispute's status, workflow stage, reason code, amount, and reply_by_date.
The webhook payload is flat and is not the same shape as the Get Dispute response. Read the webhook to decide whether to act, then call the url it carries to retrieve the full dispute. See Webhooks for the payload and for how to detect a repeated delivery.
An abridged DISPUTE_OPENED payload for a Visa dispute:
{
"webhook_type": "DISPUTE_OPENED",
"transaction_id": "TXN-20250101-12345",
"public_dispute_id": "PD-ABC123",
"case_number": "5583049217",
"amount_disputed": 250.00,
"currency_iso_code": "USD",
"status": "OPEN",
"current_workflow_stage": "OPEN",
"kind": "AFT",
"reason": "CONSUMER",
"reason_code": "13.1",
"dispute_provider": "Visa",
"reply_by_date": "12/06/2026",
"response_due_in_days": 30,
"responsible_party": "PAYER",
"url": "https://prod.api.interchecks.io/api/v2/PYRabc123==/disputes/transaction/TXN-20250101-12345/dispute/PD-ABC123"
}reply_by_date is a date (MM/DD/YYYY) in webhooks and in Search Disputes, and a timestamp in Get Dispute.
If you miss a webhook, Search Disputes returns a lightweight summary of each dispute. The summary and the full record overlap, but neither contains everything the other does. The summary has no workflow stage, for example. Retrieve the full dispute before you act on it.
Webhooks or polling
Webhooks and Search Disputes both tell you a dispute changed. They are not equivalent, and the difference matters for deadlines.
Webhooks tell you within moments of the change. If your endpoint does not return a 2xx, Interchecks tries three times a few seconds apart, then makes one more round of three attempts one to two hours later. After that the event is not sent again. A short outage on your endpoint does not lose the event, but a longer one can.
Polling tells you whenever you ask. It costs nothing to miss a delivery, but your worst-case delay is your polling interval, and a dispute that arrives with a short deadline spends that interval unseen.
Build on webhooks, and poll as a backstop rather than as the primary path. A daily sweep of open disputes catches anything a failed delivery lost. If you poll instead of listening, set the interval against the shortest deadline you expect to see, not against convenience.
2. Check what you can do
Get Available Dispute Actions is the only endpoint that tells you what a dispute currently allows. Get Dispute does not return next_actions.
Call it every time, rather than inferring the available actions from the status or the workflow stage. The options depend on the card network, the dispute reason, and the stage, and the card networks change them.
Reading the response
The response lists each action you can take and the inputs that action requires. An empty list means the dispute is not currently actionable by you. That is a normal state: the dispute may be waiting on the issuer, or already resolved, or past its deadline.
Three action types reach payers.
| Action | What it means |
|---|---|
ACCEPT | You can accept liability and close the dispute. |
CHALLENGE | You can contest the dispute. The action carries the fields your challenge must supply. |
RESUBMIT_EVIDENCE | Mastercard rejected your evidence. You can upload a corrected file and send it again. |
Building a challenge from the inputs
A CHALLENGE action describes its own schema. Each input names a field, gives its type (CODE, FREE_TEXT or FILE_UPLOAD) and its requirement (REQUIRED or OPTIONAL). A CODE input lists its options under values.
The schema nests. A value can carry its own inputs list, and that list applies only when you choose that value. So the fields your challenge needs depend on the reason code you pick, and you cannot know them until you have picked one. Walk the tree from the value you chose rather than collecting every field you see.
For example, on a Visa dispute awaiting your first response, choosing ID adds a required sub_reason_code, and choosing IDRC25 under it adds a required not_listed_invalid_reason:
{
"public_dispute_id": "PD-ABC123",
"transaction_id": "TXN-20250101-12345",
"next_actions": [
{
"type": "ACCEPT",
"inputs": []
},
{
"type": "CHALLENGE",
"inputs": [
{
"field": "reason",
"requirement": "REQUIRED",
"values": [
{
"value": "CNLD",
"inputs": [
{ "field": "explanation", "requirement": "OPTIONAL", "max_length": 10000, "type": "FREE_TEXT" }
]
},
{
"value": "ID",
"inputs": [
{
"field": "sub_reason_code",
"requirement": "REQUIRED",
"values": [
{ "value": "IDRC4", "inputs": [] },
{
"value": "IDRC25",
"inputs": [
{ "field": "not_listed_invalid_reason", "requirement": "REQUIRED", "max_length": 10000, "type": "FREE_TEXT" }
]
}
],
"type": "CODE"
},
{ "field": "explanation", "requirement": "REQUIRED", "max_length": 10000, "type": "FREE_TEXT" }
]
}
],
"type": "CODE"
},
{ "field": "notes", "requirement": "OPTIONAL", "max_length": 10000, "type": "FREE_TEXT" },
{
"field": "evidence",
"requirement": "REQUIRED",
"max_file_size_mb": 10,
"allowed_file_types": ["application/pdf", "image/jpeg", "image/tiff"],
"type": "FILE_UPLOAD"
}
]
}
]
}The real response lists more reason codes. This example keeps two.
Send codes, not labels. Each value is the literal code to submit. Free-text fields carry their own constraints, such as a max_length on explanation.
Build your request from this description rather than from a schema you hard-coded, and your challenge stays correct as the networks change their requirements.
The Dynamic Action Schema section on About Disputes describes each input type and what it expects.
Every challenge carries a required evidence input of type FILE_UPLOAD. Upload the file before you submit the challenge.
Challenge Dispute validates your submission against the same schema. A field that does not match returns 400 ERR_INVALID_PARAMETER, and the message names every schema violation at once rather than the first one. Text over the card network's length limit is the exception: it returns the network's own message.
Dispute Reason Codes gives readable labels for the codes the response returns. Get Available Dispute Actions returns codes without labels, so use that page to show a person what a code means.
3. Accept, or challenge
Accepting is one call with no request body. Accept Dispute closes the dispute against you, and its status becomes LOST.
Challenging takes two calls in order. Add the evidence first, then submit the challenge. A challenge with no pending evidence returns 409 ERR_CHALLENGE_EVIDENCE_REQUIRED.
4. Add evidence
Upload Evidence attaches a file to the dispute. Send it as multipart/form-data, not JSON.
A dispute holds one pending evidence file at a time. A second upload returns 409 ERR_EVIDENCE_REJECTED while a file is already pending. Combine what you want to send into a single document rather than uploading several.
There is no replace operation. To change a pending file, remove it with Delete Evidence and upload the new one. Only evidence you supplied, and only while it is still pending, can be deleted. Evidence Mastercard rejected stays on the dispute and cannot be deleted.
Each file must be a PDF, JPEG or TIFF of up to 10 MB. The total evidence a dispute can carry is 14.5 MB for Mastercard and 50 MB for Visa.
Evidence errors return a message written for a person to act on. It states what is wrong with the file and how to correct it. See API Error Codes.
Reading evidence on the dispute
Evidence on a dispute is not only yours. The issuer, the card network and the provider can all supply it, and the responsible_party on each evidence record says which.
Download Evidence retrieves a file by its evidence ID. Each evidence record also carries a url pointing at the same file, so you can follow that rather than building the path yourself. An evidence record with no file still has a url, and downloading it returns 404 ERR_EVIDENCE_NOT_FOUND.
Read the issuer's evidence before you decide whether to challenge. It is what the cardholder's claim rests on, and it is the best guide to what your own evidence needs to answer.
5. Submit the challenge
Challenge Dispute sends your reason, any sub-reason, your notes, and the pending evidence to the card network.
Send reason, sub_reason_code, explanation and notes as named fields. Any other field the schema asks for goes in additional_parameters. This request answers the schema in the example above:
{
"reason": "ID",
"sub_reason_code": "IDRC25",
"explanation": "The cardholder funded their own account on 2026-11-05 and withdrew the balance on 2026-11-06.",
"notes": "Account statement attached.",
"additional_parameters": {
"not_listed_invalid_reason": "Funds were delivered to the cardholder's own account and used by the cardholder."
}
}A successful call returns the dispute's new status and dispute_workflow_stage. On Visa the status becomes DISPUTED while the issuer considers your response. On Mastercard it becomes CHALLENGE_PENDING while Mastercard reviews your evidence. Either way, you don't need to take any further action until you receive a dispute update via webhook
{
"public_dispute_id": "PD-ABC123",
"transaction_id": "TXN-20250101-12345",
"status": "DISPUTED",
"dispute_workflow_stage": "ACQUIRER_CHALLENGED"
}A 500 does not tell you whether the challenge reached the card network. Interchecks holds the submission and its evidence for up to 15 minutes. A retry inside that window returns 409 ERR_DISPUTE_NOT_ACTIONABLE, and the evidence cannot be deleted. After the window, retrieve the dispute and call Get Available Dispute Actions. Submit again only if CHALLENGE is still offered.
6. Resubmit rejected evidence
Mastercard can reject the evidence you sent and ask for a corrected file. When it does, corrective_action_required becomes true and corrective_action_due_date carries the deadline. Get Available Dispute Actions returns a RESUBMIT_EVIDENCE action.
This path is Mastercard only. Visa has no equivalent.
- Find the rejected file. Its evidence record carries
rejected_atandrejection_reason. Mastercard does not give a detailed reason, so check the file against Mastercard's document requirements on About Disputes. - Upload the corrected file with Upload Evidence. If a pending file is still attached, remove it with Delete Evidence first.
- Call Resubmit Corrected Evidence. The request has no body. It sends the pending file to Mastercard.
Calling Resubmit Corrected Evidence without uploading a corrected file first returns 409 ERR_RESUBMIT_EVIDENCE_REQUIRED.
If a resubmission fails with 500, Interchecks holds the failed attempt for up to 15 minutes. A retry inside that window returns 409 ERR_DISPUTE_NOT_ACTIONABLE. Wait, then retry.
7. Pre-arbitration and arbitration
Responding does not always end the dispute. What happens next depends on the dispute's workflow_type, which Get Dispute returns.
- Visa
COLLABORATIONand MastercardSTANDARD: after you challenge, the issuer can accept your response or file pre-arbitration. A pre-arbitration filing returns the dispute to you atPRE_ARBITRATION_OPENwith a new deadline. - Visa
ALLOCATION(fraud and authorization disputes): your first challenge is itself the pre-arbitration filing, so the dispute moves toPRE_ARBITRATION_OPENwith the issuer to act. If the issuer declines, the dispute returns to you atPRE_ARBITRATION_ISSUER_CHALLENGED. You can accept, or challenge again to escalate to arbitration, where the card network makes the final ruling.
When the dispute comes back to you, start again at step 2: call Get Available Dispute Actions, then accept or challenge. The fields a challenge requires change between rounds. A Mastercard pre-arbitration challenge, for example, takes a required memo of up to 100 characters in additional_parameters instead of a reason code. At Mastercard arbitration, the only action offered is ACCEPT.
8. Deadlines
Every dispute carries a reply_by_date for its current stage, and response_due_in_days as whole days remaining. Check responsible_party as well: while it is ISSUER, the date is the issuer's deadline, not yours.
A dispute you do not answer by its deadline closes against you with status LOST. Interchecks sends DISPUTE_REMINDER webhooks two days before, one day before and on the day of the deadline, and when a pre-arbitration stage needs your response, unless your reminder settings turn them off. See About Disputes for the reminder types. The deadline belongs to the card network, and there is no way to extend it through the API.
The deadline resets at each new stage. A dispute that moves into pre-arbitration carries a new reply_by_date, not the original one.
9. Transaction status
Dispute status and transaction status move independently, and they do not move at the same time.
You are notified of a dispute before the chargeback settles, so the transaction still shows PAID when the dispute opens. It moves to REVERSAL_PENDING when the chargeback settles, then to REVERSED if you lose or back to PAID if you win.
Card providers generate settlement files once daily, so the gap between a dispute action and the matching transaction status change runs from 2 to 24 hours. Track dispute events and transaction status separately rather than expecting one to confirm the other.
Testing the workflow
The sandbox simulates the issuer and the card network. Dispute trigger amounts open a dispute with a chosen reason code, and keywords in your challenge's notes, or in a Mastercard pre-arbitration memo, choose the outcome.
See Testing for the trigger amounts, the keywords, and the rules the simulated flow still enforces.
Updated about 6 hours ago

