Saltar al contenido principal
POST
Upload a dispute document
v1 · Base URL https://api.fintoc.com/v1

Autorizaciones

Authorization
string
header
requerido

Parámetros de ruta

dispute_id
string
requerido

The dispute the document is uploaded to, prefixed with cb_ (for example cb_8anBm9YpVwXzKqL2).

Cuerpo

multipart/form-data
file
file
requerido

The document to upload. Must be a PDF, JPEG, or PNG and smaller than 10 MB.

Respuesta

The uploaded dispute document.

id
string
requerido

Unique identifier of the dispute document.

Ejemplo:

"cbd_8anBm9YpVwXzKqL2"

object
any
requerido

Type of the object. Always dispute_document.

content_type
string | null
requerido

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

Ejemplo:

"application/pdf"

created_at
string<date-time>
requerido

ISO 8601 datetime in UTC when the document was uploaded.

Ejemplo:

"2024-01-16T17:04:10.284Z"

dispute_id
string
requerido

Identifier of the dispute this document belongs to.

Ejemplo:

"cb_8anBm9YpVwXzKqL2"

filename
string
requerido

Name of the uploaded file.

Ejemplo:

"evidence.pdf"

size
integer
requerido

Size of the uploaded file in bytes.

Ejemplo:

102400