# tax.prizes.payouts.decide

Decide about one outgoing transfer or record: op record confirms it as a prize (optionally to a winner and event), dismiss says it wasn't a prize, update changes its winner, event, note or returned amount, undo puts it back to a suggestion. Never sends money.

`POST /api/v1/accounting/tax.prizes.payouts.decide`

Permissions: `accounting:read`, `accounting:write` · Roles: admin, finance · Idempotency key required · Send `expectedRevision`

MCP tool: `accounting_tax_prizes_payouts_decide`

## Fields

#### op: "record"

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `op` | "record" | Yes |  |
| `bankTransactionId` | string (ID) |  | The ID of the related record. |
| `entryId` | string (ID) |  | The ID of an accounting entry, from entries.list or attention.mine. |
| `paidOn` | string | Yes |  |
| `currency` | string | Yes | Three-letter currency code, such as CAD or USD. |
| `amountMinor` | string | Yes | An amount in cents (the currency's smallest unit), written as a whole-number string such as "1250" for $12.50. Matches ^[1-9]\d{0,14}$. |
| `eventId` | string (ID) |  | The ID of the related record. |
| `recipientId` | string (ID) |  | The ID of one signer on a document. |
| `source` | enum |  | Where the record came from. One of: `detected`, `manual`. Default `"manual"`. |
| `reasons` | array of strings |  | at most 8 items; each 1–120 characters. Default `[]`. |
| `note` | string |  | A short note, kept with the record. at most 500 characters. Default `""`. |
| `idempotencyKey` | string | Yes | Any unique text you generate once per intended change, so a retried request only happens once. Send it as the Idempotency-Key header instead if you prefer; if you send both they must match. 8–200 characters. |

#### op: "dismiss"

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `op` | "dismiss" | Yes |  |
| `bankTransactionId` | string (ID) |  | The ID of the related record. |
| `entryId` | string (ID) |  | The ID of an accounting entry, from entries.list or attention.mine. |
| `paidOn` | string | Yes |  |
| `currency` | string | Yes | Three-letter currency code, such as CAD or USD. |
| `amountMinor` | string | Yes | An amount in cents (the currency's smallest unit), written as a whole-number string such as "1250" for $12.50. Matches ^[1-9]\d{0,14}$. |
| `idempotencyKey` | string | Yes | Any unique text you generate once per intended change, so a retried request only happens once. Send it as the Idempotency-Key header instead if you prefer; if you send both they must match. 8–200 characters. |

#### op: "update"

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `op` | "update" | Yes |  |
| `id` | string (ID) | Yes | The record's ID. |
| `expectedRevision` | integer | Yes | The record's current revision, from the last time you read it. If someone changed the record since, the request is refused with a conflict so you can reload and check before trying again. at most 9007199254740991; greater than 0. |
| `eventId` | string (ID) or null |  |  |
| `recipientId` | string (ID) or null |  | The ID of one signer on a document. |
| `returnedMinor` | string |  | An amount in cents (the currency's smallest unit), written as a whole-number string such as "1250" for $12.50. Matches ^\d{1,15}$. |
| `returnedOn` | string or null |  |  |
| `note` | string |  | A short note, kept with the record. at most 500 characters. |
| `idempotencyKey` | string | Yes | Any unique text you generate once per intended change, so a retried request only happens once. Send it as the Idempotency-Key header instead if you prefer; if you send both they must match. 8–200 characters. |

#### op: "undo"

| Field | Type | Required | Notes |
| --- | --- | --- | --- |
| `op` | "undo" | Yes |  |
| `id` | string (ID) | Yes | The record's ID. |
| `expectedRevision` | integer | Yes | The record's current revision, from the last time you read it. If someone changed the record since, the request is refused with a conflict so you can reload and check before trying again. at most 9007199254740991; greater than 0. |
| `idempotencyKey` | string | Yes | Any unique text you generate once per intended change, so a retried request only happens once. Send it as the Idempotency-Key header instead if you prefer; if you send both they must match. 8–200 characters. |

## Example request

```bash
curl https://app.getoatmilk.com/api/v1/accounting/tax.prizes.payouts.decide \
  -H "Authorization: Bearer $OATMILK_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "op": "record",
  "paidOn": "2026-09-30",
  "currency": "CAD",
  "amountMinor": "1"
}'
```

Reference page: https://app.getoatmilk.com/docs/api/tax.prizes.payouts.decide
