Delete Evidence
DELETE/api/chargebacks/:id/delete-evidence
For an open dispute, you have the ability to delete previously submitted evidence. It can be deleted up until the due date of the dispute (you can receive DueDate back from the Get endpoints). After the due date, an error will be returned. Note that you can delete one or more pieces of evidence with a single call.
Request
Path Parameters
Splitit dispute id
- application/json
Body
list of evidence ids to delete
Responses
- 200
- 401
- 403
- 404
- 500
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Array [
]
Array [
]
Errors
object[]
Chargeback
object
required
TotalPlanAmount
object
required
DisputeAmount
object
required
Possible values: [Open
, Won
, Lost
, Closed
, Other
, Pending
]
Evidences
object[]
required
Comments
object[]
required
{
"Errors": [
{
"Code": "string",
"Message": "string",
"AdditionalInfo": "string"
}
],
"StatusCode": 0,
"TraceId": "string",
"IsSuccess": true,
"Chargeback": {
"Id": "string",
"DisputeCreatedDate": "2024-06-06T16:41:09.396Z",
"DueDate": "2024-06-06T16:41:09.396Z",
"InstallmentPlanNumber": "string",
"InstallmentNumber": 0,
"PlanStatus": "string",
"TransactionId": "string",
"MerchantName": "string",
"TotalPlanAmount": {
"Amount": 0,
"CurrencyCode": "string"
},
"DisputeAmount": {
"Amount": 0,
"CurrencyCode": "string"
},
"Status": "Open",
"PlanActivatedDate": "2024-06-06T16:41:09.396Z",
"ReasonCode": "string",
"Evidences": [
{
"EvidenceId": "string",
"UploadedAt": "2024-06-06T16:41:09.396Z",
"FileName": "string",
"FileType": "string"
}
],
"Comments": [
{
"CommentId": "string",
"Text": "string",
"CommentAt": "2024-06-06T16:41:09.396Z"
}
]
}
}
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
Error
object
ExtraData
object
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
Error
object
ExtraData
object
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
Error
object
ExtraData
object
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
Error
object
ExtraData
object
{
"TraceId": "string",
"Error": {
"Code": "string",
"Message": "string",
"AdditionalInfo": "string",
"ExtraData": {}
}
}