Create dispute evidence file
Path parameters
Headers
Request
JSON-encoded payload describing the contents of the file uploaded
Binary file to upload
Min size: 1 byte
Max size: 5 megabytes
JSON-encoded payload describing the contents of the file uploaded
Binary file to upload
Min size: 1 byte
Max size: 5 megabytes
Uploads a binary file as a piece of evidence for the given dispute, which can then be submitted with the challenge dispute endpoint.
The file must be one of the supported formats, or else it may not be usable to challenge the dispute:
JPEG
HEIC
HEIF
PNG
PDF
TIFF
<Note> Uploading evidence does not challenge the dispute. Make sure to call the challenge dispute endpoint before the response_due_at
timestamp, or else the merchant will automatically “lose” the dispute.
</Note>
This endpoint is not rate limited.
Scopes: DISPUTES_WRITE
The following example shows how to make a request to upload a dispute file. There are two “parts” of the request:
request
, a JSON blob that contains details about the file to uploadfile
, which contains the binary data for the file to be uploaded.Using cURL
to make the request, the request would look like the example below. Please refer to documentation for your particular language / framework and multipart/form-data
requests to see how you should implement it in your own codebase.
Please refer to Signing Multipart Requests to compute a signature for the request.