Dispute evidence
Upload documents and submit them as evidence to defend a dispute, with the evidence types and the file limits processors accept.
To defend a dispute, upload each file as a document, then submit it as
evidence with
POST /v1/disputes/{dispute_id}/evidences.
Pay.com reviews the evidence and sends it to the acquirer, which presents it to
the card network and the issuer.
Requirements
You can submit evidence while both of these are true:
- The dispute's status is
open, orpre_arbitrationwithevidence_required_byset. - The
evidence_required_bytime hasn't passed.
Evidence types
Set type to the kind of evidence you're submitting. If you leave it out, the
evidence is stored as additional_evidence.
| Type | Use for |
|---|---|
proof_of_delivery_or_service | Tracking numbers, carrier confirmations, signed delivery receipts, or logs showing the customer used the service |
proof_of_delivery_or_service_date | The date the goods were delivered or the service was provided |
invoice_or_receipt | The invoice or receipt for the disputed charge |
invoice_showing_distinct_transactions | Invoices showing that two similar charges are separate purchases |
customer_communication | Emails or chat logs with the customer about the purchase |
recurring_transaction_agreement | The agreement the customer accepted for recurring billing |
refund_or_cancellation_policy | The refund or cancellation policy the customer accepted, and where they saw it |
additional_evidence | Anything else that supports your case |
pre_arbitration_evidence | Set by Pay.com for all evidence submitted while the dispute is in pre_arbitration |
cardholder_evidence | Evidence from the cardholder's side, recorded on the dispute. Don't use it for your own evidence |
issuer_winning_evidence | Evidence the issuer sent with a decision in its favor. Don't use it for your own evidence |
Which evidence wins depends on the dispute's reason code. See Reason codes for what each network's codes claim.
Limits
Acquirers limit the files they accept, and Pay.com checks the limits of the dispute's acquirer when you submit evidence:
- Size: 10 MB per document by default. Some acquirers accept less, as little as 2 MB.
- Pages: 50 pages per document by default. Some acquirers accept less, as few as 18. Pages are counted for PDF files only.
- Documents: up to 10 documents per submission.
A document over its acquirer's limit is rejected with 400 when you submit it
as evidence, not when you upload it. The upload itself accepts files up to
50 MB. A bulk defend request applies the
strictest limit among its disputes' acquirers.
A few acquirers accept only PDF files, or only one file for each dispute, and Pay.com applies those rules when it sends the evidence, after the API has accepted it. One PDF of up to 2 MB and 18 pages meets every acquirer's limits. The Pay.com dashboard accepts PDF files only.
Prepare the files
The card networks set rules for what evidence can contain. Evidence that breaks them can be rejected, and any fine for it is charged to you.
- Don't include full card numbers, even partially masked.
- Don't include full copies of passports, ID cards, or driver's licenses. Mask ID numbers, signatures, and other personal data. Include an ID copy only when the network asks for one, for example for an order collected in person.
- For disputes that aren't about fraud, leave out ID documents. Send what shows the transaction was valid, such as the order confirmation, proof of delivery, and your messages with the customer.
- For Mastercard disputes, keep images at 300 × 300 DPI or less and 30,000,000 pixels or fewer, and avoid heavy graphics and color.
Upload a document
Each file you submit is a document (doc_). Create the document record, upload
the file, and wait for Pay.com to accept it.
- 1
Create the document
Send
POST /v1/documentswith the file's details.content_lengthis the file size in bytes. If you leave outtitle, it defaults tofilename.{ "filename": "delivery-confirmation.pdf", "reference": "order_48213", "content_type": "application/pdf", "content_length": 182044, "title": "Signed delivery confirmation" }{ "id": "doc_692435112204787712", "resource": "document", "created": "2026-03-27T09:12:40.118Z", "filename": "delivery-confirmation.pdf", "reference": "order_48213", "status": "created", "content_type": "application/pdf", "content_length": 182044, "category": "dispute_evidence", "title": "Signed delivery confirmation" } - 2
Upload the file
Send the file to
POST /v1/documents/{document_id}/upload. The body must be exactly thecontent_lengthbytes you declared, and theContent-Typeheader replaces the document'scontent_type.curl -X POST https://api.sandbox.pay.com/v1/documents/doc_692435112204787712/upload \ -u ':sk-pay-com-sandbox-…' \ --header 'Content-Type: application/pdf' \ --data-binary @delivery-confirmation.pdfA
204confirms the upload, and the document moves topendingwhile Pay.com scans it for malware. - 3
Wait for the document to be active
The document becomes
active(document.activeevent), orrejected(document.rejected) if the scan fails. You can submit onlyactivedocuments. If a document is rejected, create a new one and upload a corrected file. To check a document, retrieve it withGET /v1/documents/{id}.
Submit the evidence
Send POST /v1/disputes/{dispute_id}/evidences
with the document IDs, the evidence type, and a text explanation. text is
required, but it can be an empty string. Pass one ID in document, or up to 10
in documents. If you send both, Pay.com uses documents.
{
"type": "proof_of_delivery_or_service",
"documents": ["doc_692435112204787712"],
"text": "The order was delivered on March 4, 2026 and signed for by the customer."
}{
"id": "dspt_692434889303132160",
"resource": "dispute",
"amount": 5000,
"currency": "usd",
"charge": "chrg_692434850019280896",
"reason": "consumer_disputes",
"reason_code": "13.1",
"status": "open",
"evidence_required_by": "2026-04-02T00:00:00.000Z",
"evidences": {
"data": [],
"url": "/v1/disputes/dspt_692434889303132160/evidences"
}
}The response (201) is the dispute as it was before Pay.com processed the
evidence, so evidences.data doesn't include it yet. Within seconds the
evidence appears on the dispute, the status moves to evidence_under_review,
and Pay.com sends a dispute.evidence_under_review event. Amounts are in the
currency's smallest unit, so 5000 is $50.00.
Each request adds a new evidence record. To send the same files for several disputes, use bulk defend.
After you submit
The status moves to evidence_under_review as soon as Pay.com stores the
evidence. Pay.com then checks it and sends it to the acquirer.
If Pay.com rejects the evidence, for example because it breaks a card network
rule, the dispute goes back to open, or to pre_arbitration, with the same
deadline. Pay.com sends a dispute.evidence_rejected event, and you can submit
new evidence.
Update evidence
PATCH /v1/disputes/{dispute_id}/evidences/{evidence_id}
changes a stored evidence record, with a new text, a new document, or both.
A document replaces all the files on the evidence with that one document.
You can update evidence only while the dispute is open or pre_arbitration,
and you can't change its type.
Updating evidence doesn't send anything to the acquirer again. To answer a rejection, or to add to your defense, submit new evidence instead.
Read the evidence on a dispute
The dispute's evidences.data lists its evidence. To read it on its own, list
it with
GET /v1/disputes/{dispute_id}/evidences,
or retrieve one with
GET /v1/disputes/{dispute_id}/evidences/{evidence_id}.
Each evidence object has its type, its text, and the document IDs in
files.
Submit evidence in the dashboard
In the Pay.com dashboard, go to Fraud & Disputes → Disputes, open the
dispute, and describe the case in Describe the case. Upload your evidence
as a PDF, confirm you've read the Guidelines for Submitting Dispute
Evidence, and submit. The dashboard stores the evidence as
additional_evidence, or as pre_arbitration_evidence during pre-arbitration.
The dashboard also answers requests for information on disputes in new,
which the API can't.
Next steps
- Respond to a dispute: Decide whether to accept or defend, and the deadlines that apply.
- Defend disputes in bulk: Submit the same files for several disputes.
- Reason codes: What each network reason code claims, so you can choose the right evidence.