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.
/api/v1/accounting/tax.prizes.payouts.decidePermissions
Who can call it
Retries
MCP
accounting_tax_prizes_payouts_decideFields
Shape 1: op: "record"
op"record"RequiredbankTransactionIdstring (ID)The ID of the related record.
entryIdstring (ID)The ID of an accounting entry, from entries.list or attention.mine.
paidOnstringRequiredcurrencystringRequiredThree-letter currency code, such as CAD or USD.
amountMinorstringRequiredAn 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}$
eventIdstring (ID)The ID of the related record.
recipientIdstring (ID)The ID of one signer on a document.
sourceenumWhere the record came from.
detectedmanualDefault "manual"
reasonsarray of stringsat most 8 items · each 1–120 characters · Default []
notestringA short note, kept with the record.
at most 500 characters · Default ""
idempotencyKeystringRequiredAny 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
Shape 2: op: "dismiss"
op"dismiss"RequiredbankTransactionIdstring (ID)The ID of the related record.
entryIdstring (ID)The ID of an accounting entry, from entries.list or attention.mine.
paidOnstringRequiredcurrencystringRequiredThree-letter currency code, such as CAD or USD.
amountMinorstringRequiredAn 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}$
idempotencyKeystringRequiredAny 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
Shape 3: op: "update"
op"update"Requiredidstring (ID)RequiredThe record's ID.
expectedRevisionintegerRequiredThe 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
eventIdstring (ID) or nullrecipientIdstring (ID) or nullThe ID of one signer on a document.
returnedMinorstringAn amount in cents (the currency's smallest unit), written as a whole-number string such as "1250" for $12.50.
Matches ^\d{1,15}$
returnedOnstring or nullnotestringA short note, kept with the record.
at most 500 characters
idempotencyKeystringRequiredAny 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
Shape 4: op: "undo"
op"undo"Requiredidstring (ID)RequiredThe record's ID.
expectedRevisionintegerRequiredThe 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
idempotencyKeystringRequiredAny 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
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"
}'{
"data": { … }
}Try it
Try it
Checks your input with this action’s real schema and answers like the API, with synthetic data. No key needed, and nothing changes.
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"
}'More in Reports and tax.