v1
latestOpenAPI 3.1.02026-07-228956435.8 KBDisputes
Upload a dispute document
Uploads a document as evidence for a dispute. Send the file as multipart/form-data. The file must be a PDF, JPEG, or PNG and smaller than 10 MB. You can upload documents only while the dispute is in waiting_documentation and within its documentation upload deadline. The dispute must match the live or test mode of the API key used.
post/disputes/{dispute_id}/documents
Path parameters
dispute_idstring required
The dispute the document is uploaded to, prefixed with cb_ (for example cb_8anBm9YpVwXzKqL2).
Response
The uploaded dispute document.
Example response
{
"id": "cbd_8anBm9YpVwXzKqL2",
"content_type": "application/pdf",
"created_at": "2024-01-16T17:04:10.284Z",
"dispute_id": "cb_8anBm9YpVwXzKqL2",
"filename": "evidence.pdf",
"size": 102400
}