Update dispute evidence

Updates dispute evidence by ID. Read our disputes guide to learn more.

To use this endpoint from the browser, you’ll need to specify the /accounts/{your-account-id}/transfers.write scope when generating a token.
PATCH
/accounts/{accountID}/disputes/{disputeID}/evidence/{evidenceID}
cURL Go
1
2
3
4
5
6
curl -X PATCH "https://api.moov.io/accounts/{accountID}/disputes/{disputeID}/evidence/{evidenceID}" \
  -H "Authorization: Bearer {token}" \
  --data-raw '{
    "text": "string",
    "evidenceType": "receipt"
  }'\
1
2
3
4
5
6
7
8
mc, _ := moov.NewClient()

var disputeID string
var evidenceID string

mc.UpdateDisputeEvidence(ctx, disputeID, evidenceID, moov.DisputesEvidenceUpdate{
  EvidenceType: moov.EvidenceType_Receipt,
})
200 403 404 422 429 500
Updated dispute evidence details.
Metadata about the dispute evidence.
{
  "createdOn": "2019-08-24T14:15:22Z",
  "disputeID": "ec7e1848-dc80-4ab0-8827-dd7fc0737b43",
  "evidenceID": "ec7e1848-dc80-4ab0-8827-dd7fc0737b43",
  "evidenceType": "receipt",
  "filename": "string",
  "mimeType": "string",
  "size": 0,
  "updatedOn": "2019-08-24T14:15:22Z"
}
The user is not authorized to make the request.
Request received, but resource was not found.
The parameters provided are not processable.
Request was refused due to rate limiting.

Retry-After

number
Invalid request, an error message will be available in the response body.
Response for http requests that failed

Path parameters

accountID

string <uuid> required
ID of the account.

disputeID

string <uuid> required
ID of dispute

evidenceID

string <uuid> required
ID of evidence

Body

application/json
The evidence fields to update.

evidenceType

string<enum>
The type of evidence being uploaded.
Possible values: receipt, proof-of-delivery, cancelation-policy, terms-of-service, customer-communication, generic-evidence, cover-letter, other

text

string <=750 characters
The updated text evidence.

Response

application/json
Metadata about the dispute evidence.

createdOn

string<date-time> <=24 characters

disputeID

string<uuid> <=36 characters
UUID

evidenceID

string<uuid> <=36 characters
UUID

evidenceType

Possible values: receipt, proof-of-delivery, cancelation-policy, terms-of-service, customer-communication, generic-evidence, cover-letter, other

filename

string

mimeType

string

size

integer

updatedOn

string<date-time> <=24 characters