uploadDisputeDocument
Registers one evidence file on the response to a chargeback of the current account, and returns a short-lived URL to upload the file to. PUT the file to uploadUrl with the same content type within 15 minutes. The file is listed in Dispute.documents at once: if the upload fails, remove it with deleteDisputeDocument, because submitRepresentment fails on a file that was never uploaded. A response holds at most 10 files. Same conditions as saveDispute. Arguments: - chargebackId: Chargeback ID (Chargeback.id). - name: File name shown with the evidence. Must not be empty. The dashboard sends the original file name. - contentType: MIME type of the file: application/pdf, text/plain, image/jpeg or image/png. The PUT to uploadUrl must send the same Content-Type.
uploadDisputeDocument(
chargebackId: ID!
name: String!
contentType: String!
): DisputeDocumentUpload!
Arguments
uploadDisputeDocument.chargebackId ● ID! non-null scalar
uploadDisputeDocument.name ● String! non-null scalar
uploadDisputeDocument.contentType ● String! non-null scalar
Type
DisputeDocumentUpload object
Upload slot for one evidence file, returned by uploadDisputeDocument.