Delete Evidence


To delete evidence for a dispute using evidenceId and disputeId

EnvironmentHttp MethodAPI Host URL
SandboxDELETEhttps://api-preprod.phonepe.com/apis/pg-sandbox/v1/disputes/{disputeId}/evidences/{evidenceId}
ProductionDELETEhttps://api.phonepe.com/apis/pg/v1/disputes/{disputeId}/evidences/{evidenceId}
Path Parameters
Path Parameter NameTypeDescription
disputeIdStringUnique disputeId generated at PhonePe
evidenceIdStringUnique evidenceId generated at PhonePe
Sample Response
{
    "success" = true
}

⚠️ Dispute Status Action Rules!


A dispute can be accepted only when its status is ACTION_REQUIRED. If the status is different, the API will return a 409 error.

Error Scenarios
Error ScenarioResponse CodeResponse
Dispute not found404{
   “message”: “Dispute Not Found”,
   “code”: “DISPUTE_NOT_FOUND”
}
Evidence not found404{
   “message”: “Evidence Not Found”,
   “code”: “EVIDENCE_NOT_FOUND”
}
delete can also happen when the status of the dispute is in ACTION_REQUIRED409{
   “message”: “Transition not allowed”,
   “code”: “INVALID_TRANSITION”
}
Any issue at PhonePe end500{
   “message”: “Something went wrong, please try again”,
   “code”: “SOMETHING_WENT_WRONG”
}
Is this article helpful?