Skip to main content
PUT
/
v1
/
disputes
/
{disputeId}
/
evidence
Upload dispute evidence
curl --request PUT \
  --url https://api.ledger.so/v1/disputes/{disputeId}/evidence \
  --header 'Api-Key: <api-key>' \
  --header 'Content-Type: multipart/form-data' \
  --form 'name=<string>' \
  --form 'type=<string>' \
  --form evidence='@example-file'
{
  "error": {
    "type": "validation_error",
    "code": "invalid_request_body",
    "message": "Invalid request body"
  },
  "request_id": "req_abc123"
}

Authorizations

Api-Key
string
header
required

API key for authentication. Get your key from the Dashboard.

Path Parameters

disputeId
string
required

The dispute ID

Body

multipart/form-data
name
string
required

Name of the evidence

type
string
required

Type of evidence

evidence
file
required

The file to upload (max 20MB)

Response

Evidence uploaded