cURL
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" }
Upload file evidence for a dispute.
API key for authentication. Get your key from the Dashboard.
The dispute ID
Name of the evidence
Type of evidence
The file to upload (max 20MB)
Evidence uploaded