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
Path Parameters
disputeIdstringRequired
The unique identifier of the raised dispute.
Request Parameters
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.
fileNamestringRequired
Min length: 4Max length: 17
The name of the attachment, including its filename extension. Supported filename extensions: jpeg, pdf, tiff.
Response parameters
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.