Overview
TheApiDisputeDocuments class provides methods for managing documents related to disputes. These documents are used as evidence when contesting chargebacks.
Methods
Get
Retrieve a dispute document by ID.The dispute document identifier
DisputeDocument object
Example:
GetAll
Retrieve all dispute documents for the client.Pagination parameters (passed by reference)
Sorting parameters
Filter parameters
DisputeDocument objects
Example:
CreateDisputeDocumentConsult
Create temporary URLs to view dispute document pages.The dispute document identifier
Pagination parameters
DocumentPageConsult objects containing temporary view URLs
Example:
DisputeDocument Entity
TheDisputeDocument object contains:
Unique identifier
Document type (DELIVERY_PROOF, INVOICE, REFUND_PROOF, USER_CORRESPONDANCE, etc.)
Document status (CREATED, VALIDATION_ASKED, VALIDATED, REFUSED)
Reason if document was refused
Detailed message if refused
Unix timestamp of creation
Unix timestamp when processed
ID of the associated dispute
DocumentPageConsult Entity
Temporary URL to view the document page
Unix timestamp when the URL expires (typically 10 minutes)
Document Types
Valid dispute document types:DELIVERY_PROOF- Proof of delivery for physical goodsINVOICE- Invoice or receiptREFUND_PROOF- Proof that refund was issuedUSER_CORRESPONDANCE- Communication with the userUSER_ACCEPTANCE_PROOF- Proof user accepted termsPRODUCT_REPLACEMENT_PROOF- Proof of product replacementREFUND_REFUSAL_JUSTIFICATION_PROOF- Justification for refusing refundTERMS_AND_CONDITIONS- Your terms and conditionsOTHER- Other supporting evidence
Complete Example
Temporary view URLs expire after 10 minutes. Generate new consult URLs if you need to view the document again.