Accept dispute

POST
/accounts/{accountID}/disputes/{disputeID}/accept

Accepts liability for a dispute.

Read our disputes guide to learn more.

To access this endpoint using an access token you'll need to specify the /accounts/{accountID}/transfers.read scope.

curl -X POST "https://api.moov.io/accounts/{accountID}/disputes/{disputeID}/accept" \
  -H "Authorization: Bearer {token}" \
  -H "X-Moov-Version: v2027.01.00"
mc, _ := moov.NewClient()

var accountID string
var disputeID string

mc.AcceptDispute(ctx, accountID, disputeID)
The request completed successfully.
application/json
{
  "disputeID": "6e356108-fdfa-4910-bbe4-1e3c8abf5520",
  "merchantAccountID": "34233b72-780c-4e0e-8b08-cbbe1bc878f8",
  "createdOn": "2024-12-23T17:55:00Z",
  "amount": {
    "currency": "USD",
    "value": 257753
  },
  "networkReasonCode": "10.4",
  "transfer": {
    "transferID": "ecac148a-917e-4ee0-b46a-c51408939fff"
  },
  "respondBy": "2024-12-23T18:55:00Z",
  "status": "response-needed",
  "phase": "chargeback"
}

x-request-id

string required
A unique identifier used to trace requests.
The server could not understand the request due to invalid syntax.
application/json
{
  "error": "string"
}

x-request-id

string required
A unique identifier used to trace requests.
The request contained missing or expired authentication.

x-request-id

string required
A unique identifier used to trace requests.
The user is not authorized to make the request.

x-request-id

string required
A unique identifier used to trace requests.
The requested resource was not found.

x-request-id

string required
A unique identifier used to trace requests.
The request conflicted with the current state of the target resource.
application/json
{
  "error": "string"
}

x-request-id

string required
A unique identifier used to trace requests.
Request was refused due to rate limiting.

x-request-id

string required
A unique identifier used to trace requests.
The request failed due to an unexpected error.

x-request-id

string required
A unique identifier used to trace requests.
The request failed because a downstream service failed to respond.

x-request-id

string required
A unique identifier used to trace requests.

Headers

X-Moov-Version

string
Set this header to v2027.01.00 to use the API described in this specification. When omitted, the server defaults to v2024.01.00, the earliest supported version, which may not match the behavior documented here. An unrecognized well-formed version uses the latest supported version that is not newer than the requested version, when one exists. For example, v2026.08.00 uses v2026.07.00. A malformed value, such as 2022, returns a 404 response.
Possible values: v2027.01.00

Path parameters

accountID

string required

disputeID

string required

Response

application/json
Details of a card transaction dispute.

amount

object required
Show child attributes

amount

currency

string required Pattern
A 3-letter ISO 4217 currency code.

value

integer<int64> required

Quantity in the smallest unit of the specified currency.

In USD this is cents, for example, $12.04 is 1204 and $0.99 is 99.

createdOn

string<date-time> required

disputeID

string required

merchantAccountID

string required

networkReasonCode

string required

Indicates the card network's category for the dispute.

These codes may differ between card brands. You can find more information on the code from the networkReasonDescription field.

phase

string<enum> required
The phase of a dispute within the dispute lifecycle.
Possible values: pre-dispute, inquiry, chargeback, unknown

respondBy

string<date-time> required

status

string<enum> required

The status of a particular dispute.

Read our disputes guide to learn what each status means.

Possible values: response-needed, resolved, under-review, closed, accepted, expired, won, lost

transfer

object required
Show child attributes

transfer

transferID

string required
The disputed transfer's ID.

networkReasonDescription

string
Provides detail on the card network's categorization of the dispute.

submittedOn

string<date-time>