<- Disputes API

Disputes API

Create dispute evidence file

POST

 /v2/disputes/{dispute_id}/evidence-files

Uploads a file to use as evidence in a dispute challenge.

The endpoint accepts HTTP multipart/form-data file uploads in HEIC, HEIF, JPEG, PDF, PNG, and TIFF formats.

Permissions:DISPUTES_WRITE
Try in API Explorer
Link to section

Path parameters

Example code

Link to section

dispute_id

string

Required

The ID of the dispute for which you want to upload evidence.

Link to section

Request body

Link to section

idempotency_key

string

Required

A unique key identifying the request. For more information, see Idempotency.

Link to section

evidence_type

string

The type of evidence you are uploading.

Link to section

content_type

string

The MIME type of the uploaded file. The type can be image/heic, image/heif, image/jpeg, application/pdf, image/png, or image/tiff.

Link to section

Response fields

Link to section

errors

Any errors that occurred during the request.

Link to section

evidence

The metadata of the newly uploaded dispute evidence.