Upload File

Use this endpoint to upload files for disputes.

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Headers

User-AgentstringRequired
AcceptstringOptional

application/json

Request

This endpoint expects an object.
fileanyRequired
The file you want to upload.
fileTypestringRequired

The type of file. Only dispute_evidence is supported.

Response

Indicates a successful file upload.
idstring
The ID token of the file.
createdAtstringformat: "date-time"
The timestamp indicating when the file was uploaded.
expiresAtstringformat: "date-time"
The timestamp indicating when the uploaded file expires.