Disputes
API ReferenceDisputesGet Evidence
Get Evidence
Returns the evidence currently attached to a dispute, grouped by category. Useful before submitting (to see what is already there) and for audit trails.
GET /disputes/evidence/:dispute_id
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
dispute_id | string | Yes | The ID of the dispute whose evidence you want to retrieve. |
Request Example
curl 'https://api.v2.paychtec.com/disputes/evidence/dp_1234567890abcdef' \ -H "api-key: snd_YOUR_API_KEY"Response
{
"dispute_id": "dp_1234567890abcdef",
"evidence": {
"customer_information": {
"customer_name": "John Doe",
"customer_email_address": "john@example.com",
"customer_purchase_ip": "203.0.113.42"
},
"product_information": {
"product_description": "Annual SaaS subscription",
"service_date": "2024-01-15",
"receipt": "file_abc123"
},
"shipping_information": {
"shipping_carrier": "UPS",
"shipping_date": "2024-01-16",
"shipping_tracking_number": "1Z999AA10123456784"
}
},
"evidence_submitted_at": "2024-01-22T14:00:00Z"
}The exact field set returned matches whatever has been submitted via Submit evidence. Empty categories are omitted.
Errors
| Status | When |
|---|---|
404 | Dispute id does not exist. |