Accept dispute

Accepts a dispute. Read our disputes guide to learn more.

To use this endpoint from the browser, you’ll need to specify the /accounts/{your-account-id}/transfers.write scope when generating a token.
POST
/disputes/{disputeID}/accept
cURL Go
1
2
curl -X POST "https://api.moov.io/disputes/{disputeID}/accept" \
  -H "Authorization: Bearer {token}" \
1
2
3
4
5
mc, _ := moov.NewClient()

var disputeID string

mc.AcceptDispute(ctx, disputeID)
200 403 404 422 429 500
Updated dispute details.
Details about the card dispute.
{
  "amount": {
    "currency": "USD",
    "value": 1204
  },
  "createdOn": "2000-01-23T04:56:07.000Z",
  "disputeID": "ec7e1848-dc80-4ab0-8827-dd7fc0737b43",
  "merchantAccountID": "ec7e1848-dc80-4ab0-8827-dd7fc0737b43",
  "networkReasonCode": "networkReasonCode",
  "networkReasonDescription": "networkReasonDescription",
  "phase": "pre-dispute",
  "respondBy": "2000-01-23T04:56:07.000Z",
  "status": "response-needed",
  "transfer": {
    "transferID": "ec7e1848-dc80-4ab0-8827-dd7fc0737b43"
  }
}
The user is not authorized to make the request.
Request received, but resource was not found.
The parameters provided are not processable.
Request was refused due to rate limiting.

Retry-After

number
Invalid request, an error message will be available in the response body.
Response for http requests that failed

Path parameters

disputeID

string <uuid> required
ID of dispute

Response

application/json
Details about the card dispute.

amount

object
An integer value representing money in a specific currency.
right_key Show child attributes

currency

string <=3 characters Pattern
A 3-letter ISO 4217 currency code.

value

integer<int64>
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> <=24 characters

disputeID

string<uuid> <=36 characters
UUID v4

merchantAccountID

string<uuid> <=36 characters
UUID v4

networkReasonCode

string
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.

networkReasonDescription

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

phase

string<enum>
The phase of a particular dispute.
Possible values: pre-dispute, inquiry, chargeback, unknown

respondBy

string<date-time> <=24 characters

status

string<enum>
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
Details about the transfer.
right_key Show child attributes

transferID

string<uuid> <=36 characters
UUID v4