> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Dispute an outcome

> Flag an Outcome for joint review (Appendix D.2). Idempotent on the standard Idempotency-Key header — retried POSTs with the same key return the same dispute…

Flag an Outcome for joint review (Appendix D.2).

Idempotent on the standard Idempotency-Key header — retried POSTs
with the same key return the same dispute row with
`Idempotency-Replayed: true`.

### Path parameters

<ParamField path="outcome_id" type="string (uuid)" required />

### Request body

`OutcomeDisputeCreate`

<ParamField body="reason" type="string" required />

### Response

`OutcomeDisputeRead`

<ResponseField name="id" type="string (uuid)" required />

<ResponseField name="outcome_id" type="string (uuid)" required />

<ResponseField name="tenant_id" type="string (uuid)" required />

<ResponseField name="reason" type="string" required />

<ResponseField name="flagged_by" type="string (uuid),null" />

<ResponseField name="flagged_at" type="string (date-time)" required />

<ResponseField name="idempotency_key" type="string,null" />

<ResponseField name="credit_applied_usd" type="string" required />

<ResponseField name="resolution" type="string,null" />

<ResponseField name="resolved_at" type="string (date-time),null" />

<ResponseField name="resolved_by" type="string (uuid),null" />

<ResponseField name="root_cause" type="string,null" />

<ResponseField name="review_notes" type="string,null" />

<ResponseField name="stripe_credit_balance_tx_id" type="string,null" />

### Status codes

| Code  | Meaning             |
| ----- | ------------------- |
| `201` | Successful Response |
| `422` | Validation Error    |

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url 'https://api.computer.stateset.app/api/v1/outcomes/{outcome_id}/dispute' \
    --header 'X-API-Key: YOUR_API_KEY' \
    --header 'Content-Type: application/json' \
    --data '{
    "reason": "Two-person tent, green — replacement for damaged pole set."
  }'
  ```
</RequestExample>

<ResponseExample>
  ```json 201 theme={null}
  {
    "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "outcome_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "tenant_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "reason": "Two-person tent, green — replacement for damaged pole set.",
    "flagged_by": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "flagged_at": "2026-08-31T14:22:05Z",
    "idempotency_key": "req_01J9X4Q8M2ZK7V3N",
    "credit_applied_usd": "string",
    "resolution": "confirmed_outcome",
    "resolved_at": "2026-08-31T14:22:05Z",
    "resolved_by": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "root_cause": "string",
    "review_notes": "string",
    "stripe_credit_balance_tx_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
  }
  ```
</ResponseExample>
