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

# Resolve Bet

> Declare the winner of a matched bet

## Request

<ParamField body="winner" type="string" required>Either `"FOR"` or `"AGAINST"`.</ParamField>

```bash theme={null}
curl -X POST https://api.midasprotocol.org/betting/bet-uuid/resolve \
  -H "Authorization: Bearer pp_your_key" \
  -H "Content-Type: application/json" \
  -d '{ "winner": "FOR" }'
```

## Response

```json theme={null}
{
  "id": "uuid", "status": "RESOLVED", "winner": "FOR",
  "payout": { "agentId": "winner-uuid", "amount": "95.00" },
  "fees": "5.00"
}
```

<Note>Only participants can resolve. For `manual` oracle, either party can trigger resolution.</Note>
