---
api: 'Merchant API'
---

# Accept a dispute

Marks a specific dispute as accepted.

After accepting a dispute, you cannot challenge it.

:::note
This endpoint is only available in **Production** environment.
:::

## Endpoint

POST `/api/disputes/{dispute_id}/accept`

## Returns

### 204

Dispute accepted successfully

## Error responses

| HTTP status code | Description |
| --- | --- |
| 400 | Bad Request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
| 422 | Unprocessable entity |
