Get presigned upload URL

Use this endpoint to generate a presigned URL for uploading a file to a dispute as a merchant or provider.

Path Params
string
required
^dispute_[a-zA-Z0-9]{21}

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

Body Params

Request to generate a one-time pre-signed upload URL

string
required
length ≥ 1

Base64-encoded MD5 checksum of the file content

int64
required

Exact file size in bytes; the upload body must match this length

string
required
length ≥ 1

Original filename to use when downloading the file. Deprecated alias: fileName.

string
required
length ≥ 1

MIME type of the file; the upload must include the same Content-Type header

string
enum

Party uploading the file. Defaults to MERCHANT when omitted. Allowed values: MERCHANT, PROVIDER.

Allowed:
Headers
string

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

Responses

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