---
title: "Accept a Dispute"
method: POST
path: "/dispute/disputes/{disputeId}/accept"
tags: ["Disputes"]
---

# Accept a Dispute

`POST /dispute/disputes/{disputeId}/accept`

## Request

- Base URL: `https://api.staging.payrails.io`
- URL: `https://api.staging.payrails.io/dispute/disputes/{disputeId}/accept`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/payrails/apis/payrails-api-reference/docs/dispute/disputes/:disputeId/accept/post.ts> (a function with typed inputs; its response is checked against the schema)

Concede a dispute without submitting a defense. Use this when you choose not to contest the chargeback.

## Path parameters

- `disputeId` string, uuid, required

## Headers

- `x-idempotency-key` string, uuid, required

## Response `200`

Dispute accepted successfully.

- object
  - `disputeId` string, uuid, required: Unique identifier of the Dispute in Payrails.
  - `disputeReference` string, required: Unique identifier of the Dispute in the Provider.
  - `success` boolean, required: Indicates whether the accept action was processed successfully by the Provider.
  - `result` 'Submitted' | 'Failed' | 'UnderReview' | 'Accepted' | 'Received' | 'Expired' | 'GenericRejection' | 'OperationNotAllowed' | 'OperationDuplicated' | 'Unknown', required: Operation Result that was executed in the Provider.
  - `rawDetails` object[]: Raw request and response details from the Provider.
    - `request` string: Raw request sent to the Provider.
    - `status` string: HTTP status returned by the Provider.
    - `response` string: Raw response returned by the Provider.
    - `latency` string: Latency of the Provider request.
  - `defenseStatus` 'NotDefendable' | 'Undefended' | 'ReadyToSubmit' | 'Submitted' | 'Failed' | 'UnderReview' | 'Won' | 'Lost' | 'Accepted' | 'Resolved' | 'Unknown': Status of the defense.

## Other responses

- `400`: Bad Request.
- `401`: Unauthorized.
- `403`: Forbidden.
- `404`: Not Found.
- `429`: Too Many Requests.
- `500`: Internal Server Error.

---

[API](https://skmtc.dev/payrails/apis/payrails-api-reference.md) - [All operations](https://skmtc.dev/payrails/apis/payrails-api-reference/llms.txt) - [OpenAPI document](https://skmtc.dev/payrails/apis/payrails-api-reference/revisions/9dd2f0158582?raw)
