v1

latestOpenAPI 3.1.02026-07-228956435.8 KB
Disputes

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.

idstring required

Unique identifier of the dispute document.

object'dispute_document' required

Type of the object. Always dispute_document.

content_typestring nullable required

Media type of the uploaded file, for example application/pdf. null when Fintoc cannot determine the type.

created_atstring date-time required

ISO 8601 datetime in UTC when the document was uploaded.

dispute_idstring required

Identifier of the dispute this document belongs to.

filenamestring required

Name of the uploaded file.

sizeinteger required

Size of the uploaded file in bytes.

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
}