Disputes
Internal

Get presigned upload URL

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

post/v1/disputes/{disputeId}/files/presigned-upload-url

Request

  • Base URL
    https://api.sandbox.eu.ppro.com
  • URL
    https://api.sandbox.eu.ppro.com/v1/disputes/{disputeId}/files/presigned-upload-url
  • Auth
    none declared

Path parameters

disputeIdstring required

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

Headers

Request-Referencestring

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

Request body

checksumstring required

Base64-encoded MD5 checksum of the file content

contentLengthinteger required

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

namestring required

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

contentTypestring required

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

sender'MERCHANT' | 'PROVIDER'

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

Example request

{
  "checksum": "1B2M2Y8AsgTpgAmY7PhCfg==",
  "contentLength": 1024,
  "name": "evidence.pdf",
  "contentType": "application/pdf",
  "sender": "MERCHANT"
}

Response

Presigned upload URL generated successfully

fileKeystring
preSignedUrlstring
expiresAtstring date-time
fileIdstring

Changes

No recorded changes to this operation across all 1 revision of this API.