Skip to main content

Add an attachment to a dispute

post/disputes/{disputeId}/attachments

Add supporting information as an attachment for the raised dispute. Upload receipts, communication, or any other documentation to support the dispute.

Endpoint destination URL
Click to copy
disputeIdstringRequired

The unique identifier of the raised dispute.

attachmentTypestringRequired

The type of information contained in the attachment: receipt, correspondence, other.

contentstringRequired

The content of the image. An attachment must be base64-encoded data. Please ensure that all Base64 encoded strings are generated without line breaks or "wrapping" (e.g., using Base64.NO_WRAP in Java or equivalent in other languages). Newline characters at the end of the string will result in a malformed input error.

fileNamestringRequired
Min length: 4Max length: 17

The name of the attachment, including its filename extension. Supported filename extensions: jpeg, pdf, tiff.

After submitting a call, you receive a response message to inform you that your request was received and processed.

Depending on the HTTP status code of the response message, it is helpful to build some logic to handle any errors that a request or the system may return.

HTTP Responses

  • 200 - OK

    The request has succeeded.

  • 401

    Authentication required.

  • 403

    Insufficient permissions to process the request.

  • 422

    A request validation error.