Update a dispute evidence
/disputes/{dispute_id}/evidences/{evidence_id}Updates an existing piece of evidence for a dispute. At least one of document or text is required.
The dispute must be in status open or pre_arbitration; otherwise the request returns 400. After evidence is submitted the dispute moves to evidence_under_review within seconds, so evidence can usually no longer be updated.
Headers
AuthorizationstringRequiredPath parameters
dispute_idstringRequiredUnique identifier for the dispute.
evidence_idstringRequiredUnique identifier for the evidence.
Parameters
documentstringUnique identifier for an uploaded document. Replaces all files on the evidence with this one document, which must be a dispute evidence document in status active.
textstringUpdated text explanation for this evidence. An empty string is accepted.
Returns
Returns the updated evidence object.
idstringUnique identifier for the evidence.
resourcestringString representing the object's type.
typestringThe type of evidence. Evidence submitted while the dispute is in pre_arbitration has type pre_arbitration_evidence.
filesarray of stringsUnique identifiers for the documents attached to the evidence.
textstringText description of the evidence.
test_modebooleanWhether the evidence was created in the sandbox.
Errors
400open or pre_arbitration, or the document is not an accepted evidence document.401invalid_key, invalid_token, legacy_keys_ended, legacy_keys_off or permission_denied).403resource_not_allowed, key_disabled, network_not_allowed, pci_required or merchant_required), or this resource isn't enabled for your account (permission_denied). code says why.404500503Retry-After, or after a few seconds when there's none.