entries.hold.set
Say whether a card charge is a hotel hold with entryId, state (confirmed_hold or not_a_hold) and an idempotencyKey. Confirming books the charge as a transfer, so it leaves expense totals and tax while staying visible and matched; pass resolvedByEntryId to say which later charge replaced it. Declining puts the purchase back. A person's decision is final: Oatmilk never overturns it. Closed periods can't change. Contributors can decide only transactions they own.
/api/v1/accounting/entries.hold.setPermissions
Who can call it
Retries
MCP
accounting_entries_hold_setFields
entryIdstring (ID)RequiredThe ID of an accounting entry, from entries.list or attention.mine.
stateenumRequiredconfirmed_holdnot_a_holdresolvedByEntryIdstring (ID)The ID of the related record.
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/entries.hold.set \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"entryId": "7f0f6c1e-1c1f-4b5e-9c8d-2f5e8e3c1a10",
"state": "confirmed_hold"
}'{
"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/entries.hold.set \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"entryId": "7f0f6c1e-1c1f-4b5e-9c8d-2f5e8e3c1a10",
"state": "confirmed_hold"
}'More in Transactions.