Evidence files

Upload evidence file

Upload a file for the dispute process.

post/v1/disputes/{disputeId}/file

Request

  • Base URL
    https://sandbox.pismolabs.io/passport
  • URL
    https://sandbox.pismolabs.io/passport/v1/disputes/{disputeId}/file
  • Auth
    none declared

Path parameters

disputeIdnumber required

Dispute ID

Request body multipart/form-data

namestring required

File name. VISA - Anything alphanumeric, no special characters, 20 chars maximum. Mastercard - At least a number and a letter and no special characters. 9 chars maximum.

category'PERSONAL' | 'CARD' | 'OTHERS' | 'PRE_ARBITRATION' required

File category

filestring binary required

Uploaded file. Max size = 14Mb. Must have one of these extensions: .jpg, .jpeg, .tif, .tiff and .pdf.

dispute_installment_idnumber

Dispute installment ID. If not passed, the first Installment is used.

Example request

{
  "name": "MyFile",
  "category": "PRE_ARBITRATION"
}

Response

OK

idnumber

Dispute file ID.

org_idstring

Organization ID

dispute_idnumber

Dispute ID

dispute_installment_idinteger

Dispute installment ID.

installmentnumber

Installment number.

pathstring

Organization file path.

file_namestring

File name.

category'PERSONAL' | 'CARD' | 'OTHERS' | 'PRE_ARBITRATION'

File category

Example response

{
  "id": 1,
  "org_id": "TN-cc8f8b89-233a-4582-9f36-63ee85278d6d",
  "dispute_id": 48670,
  "dispute_installment_id": 8675309,
  "path": "/path/of/directory/",
  "file_name": "doc.pdf",
  "category": "PRE_ARBITRATION"
}

Changes

No recorded changes to this operation across all 1 revision of this API.