Upload evidence text
To use this endpoint from the browser, you’ll need to specify the
/accounts/{your-account-id}/transfers.write
scope when generating a token.
POST
/disputes/{disputeID}/evidence-text
curl --request POST \
--url https://api.moov.io/disputes/ec7e1848-dc80-4ab0-8827-dd7fc0737b43/evidence-text \
--header 'content-type: application/json' \
--data '{"text":"string","evidenceType":"receipt"}'
List of created dispute evidence.
[
{
"createdOn": "2019-08-24T14:15:22Z",
"data": "string",
"disputeID": "ec7e1848-dc80-4ab0-8827-dd7fc0737b43",
"evidenceID": "ec7e1848-dc80-4ab0-8827-dd7fc0737b43",
"evidenceType": "receipt",
"filename": "string",
"mimeType": "string",
"size": 0,
"text": "string",
"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.
Response headers
X-Retry-In
string
<duration>
How long (in milliseconds) to wait until able to retry the request.
Invalid request, an error message will be available in the response body.
Error response for http requests that failed.
Path parameters
disputeID
string
<uuid>
required
ID of dispute
Body
application/json
evidenceType
string<enum>
required
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
required
The text to upload as evidence.