# Dispute commands: accept, answer, appeal, decide

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

> The Dispute Verbs accept, answer, appeal, decide as CLI commands, with inputs, result, refusals and an example.

Reference for [Dispute](/business/nouns/dispute), one group of [Dispute commands](/code/cli/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=cli).

```text
npx startup-builder do Dispute.accept --json '<input>' [--try | --send | --do]
```

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**

```bash
npx startup-builder do Dispute.accept --json '{"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=cli).

```text
npx startup-builder do Dispute.answer --json '<input>' [--try | --send | --do]
```

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**

```bash
npx startup-builder do Dispute.answer --json '{"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=cli).

```text
npx startup-builder do Dispute.appeal --json '<input>' [--try | --send | --do]
```

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**

```bash
npx startup-builder do Dispute.appeal --json '{"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=cli).

```text
npx startup-builder do Dispute.decide --json '<input>' [--try | --send | --do]
```

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**

```bash
npx startup-builder do Dispute.decide --json '{"dispute":"dp_gywlshZJ7A","decision":"buyer","reason":"Example reason"}'
```