Add an attachment to a dispute
Add supporting information as an attachment for the raised dispute. Upload receipts, communication, or any other documentation to support the dispute.
The unique identifier of the raised dispute.
The type of information contained in the attachment: receipt, correspondence, other.
The content of the image. An attachment must be base64-encoded data. Make sure that all base64-encoded data strings are generated without line breaks or "wrapping". For example, do not use Base64.NO_WRAP
in Java, or its equivalent in other languages. Newline characters at the end of the base64-encoded data string will also result in a malformed input error.
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.