Initiate Evidence Upload
Initiate dispute evidence upload
post/v1/disputes/{dispute_token}/evidences
Use this endpoint to upload evidences for the dispute. It will return a URL to upload your documents to. The URL will expire in 30 minutes.
Uploaded documents must either be a jpg
, png
or pdf
file, and each must be less than 5 GiB.
Path Parameters
dispute_tokenstring
formatuuid
Body Parameters
filenamestring
optional
Filename of the evidence.
Returns
tokenstringcreatedstringdispute_tokenstringupload_statusenumdownload_urlstringfilenamestringupload_urlstringDisputeEvidence
Request example Request
curl https://api.lithic.com/v1/disputes/$DISPUTE_TOKEN/evidences \
-H 'Content-Type: application/json' \
-H "Authorization: $LITHIC_API_KEY"
200 Example
{
"token": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"created": "2019-12-27T18:11:19.117Z",
"dispute_token": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"upload_status": "DELETED",
"download_url": "download_url",
"filename": "filename",
"upload_url": "upload_url"
}