Upload File

Upload a file to a dispute as multipart/form-data when the UPLOAD_FILE capability is allowed.

The file part must contain raw binary data (for example PDF or image bytes). Base64-encoded file content is not supported, including when indicated via Content-Transfer-Encoding: base64. Omit Content-Transfer-Encoding or use binary.

Set an appropriate Content-Type on the file part, such as application/pdf or image/png.

Path Params
string
required

Dispute ID starting with 'dispute_' followed by 21 alpha-numeric characters.

Body Params

Request to upload a file to a dispute

file
required

The file to upload as a multipart form part with name 'file'

Headers
string

Optional Reference for the request. This is used to identify the request in debugging.

string

Optional Idempotency Key for the request. Sending duplicate requests will result in 409 HTTP status code.

Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json