# Dispute programs: accept, answer, appeal, decide

URL: /code/mcp/dispute/verbs · Id: `page:code/mcp/dispute/verbs`

> The Dispute Verbs accept, answer, appeal, decide as MCP do programs, with inputs, result, refusals and an example.

Reference for [Dispute](/business/nouns/dispute), one group of [Dispute programs](/code/mcp/dispute).

### Dispute.accept
Accept concedes an open Dispute without contest, so the buyer keeps the held amount and the Dispute closes. [Verb page](/business/nouns/dispute/accept?interface=mcp).

```text
do: return await $.Dispute.accept(input)
```

Emits [`Dispute.accepted`](/business/events/Dispute.accepted).

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `dispute` | [Dispute](/business/nouns/dispute) | Yes | The open Dispute. |
| `reason` | `text` | Yes | Why contesting is not worth it, such as a fraud chargeback with no delivery Evidence. |

**Returns**

| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `dispute` | [Dispute](/business/nouns/dispute) | Yes | The closed Dispute, decided for the buyer. |

**Refuses when**

| Check | Error | Fix | Then call |
| --- | --- | --- | --- |
| The key is valid, but its scopes do not allow this operation. | [`forbidden`](/code/api/errors/forbidden) | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |

**Example**

```json
{
  "name": "do",
  "arguments": {
    "code": "return await $.Dispute.accept({ dispute: 'dp_gywlshZJ7A', reason: 'Example reason' })"
  }
}
```

### Dispute.answer
Answer submits the seller’s Evidence on an open Dispute before its deadline: the contract, the delivered work, and its verdicts. [Verb page](/business/nouns/dispute/answer?interface=mcp).

```text
do: return await $.Dispute.answer(input)
```

Emits [`Dispute.answered`](/business/events/Dispute.answered).

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `dispute` | [Dispute](/business/nouns/dispute) | Yes | The open Dispute. |
| `evidence` | list of [Evidence](/business/nouns/evidence) | Yes | The records that show the promise was kept. |

**Returns**

| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `dispute` | [Dispute](/business/nouns/dispute) | Yes | The answered Dispute. |

**Refuses when**

| Check | Error | Fix | Then call |
| --- | --- | --- | --- |
| The key is valid, but its scopes do not allow this operation. | [`forbidden`](/code/api/errors/forbidden) | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |

**Example**

```json
{
  "name": "do",
  "arguments": {
    "code": "return await $.Dispute.answer({ dispute: 'dp_gywlshZJ7A', evidence: ['evidence_6xsa6iYImd'] })"
  }
}
```

### Dispute.appeal
Appeal asks for one review of a decided Dispute by a Worker who took no part in the first decision. [Verb page](/business/nouns/dispute/appeal?interface=mcp).

```text
do: return await $.Dispute.appeal(input)
```

Emits [`Dispute.appealed`](/business/events/Dispute.appealed).

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `dispute` | [Dispute](/business/nouns/dispute) | Yes | The decided Dispute. |
| `reason` | `text` | Yes | What the first decision got wrong. |

**Returns**

| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `dispute` | [Dispute](/business/nouns/dispute) | Yes | The appealed Dispute. |

**Refuses when**

| Check | Error | Fix | Then call |
| --- | --- | --- | --- |
| The key is valid, but its scopes do not allow this operation. | [`forbidden`](/code/api/errors/forbidden) | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |

**Example**

```json
{
  "name": "do",
  "arguments": {
    "code": "return await $.Dispute.appeal({ dispute: 'dp_gywlshZJ7A', reason: 'Example reason' })"
  }
}
```

### Dispute.decide
Decide rules on an answered Dispute for the buyer, the seller, or a split, and releases or returns the held amount. [Verb page](/business/nouns/dispute/decide?interface=mcp).

```text
do: return await $.Dispute.decide(input)
```

Emits [`Dispute.decided`](/business/events/Dispute.decided).

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `dispute` | [Dispute](/business/nouns/dispute) | Yes | The answered Dispute. |
| `decision` | `string` | Yes | One of `buyer`, `seller`, or `split`. |
| `reason` | `text` | Yes | Why, citing the Evidence and the contract term it turns on. |

**Returns**

| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `dispute` | [Dispute](/business/nouns/dispute) | Yes | The decided Dispute. |

**Refuses when**

| Check | Error | Fix | Then call |
| --- | --- | --- | --- |
| The key is valid, but its scopes do not allow this operation. | [`forbidden`](/code/api/errors/forbidden) | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |

**Example**

```json
{
  "name": "do",
  "arguments": {
    "code": "return await $.Dispute.decide({ dispute: 'dp_gywlshZJ7A', decision: 'buyer', reason: 'Example reason' })"
  }
}
```