budgets.accounts.designate
Designate a bank account for operating cash, GST/HST, income tax, accountant fees or another reserve, optionally capping the reserved amount. The account must belong to this company. Requires its purposeRevision as expectedRevision, or zero when no designation exists. Does not move funds, change a Wise account or make a payment.
/api/v1/accounting/budgets.accounts.designatePermissions
Who can call it
Retries
MCP
accounting_budgets_accounts_designateFields
accountIdstring (ID)RequiredThe ID of a bank, card or payment account, from accounts.list.
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.
0 to 9007199254740991
purposeenumRequiredoperatinggst_hstincome_taxaccountantotherreserveLimitMinorstring or nullRequiredAn amount in cents (the currency's smallest unit), written as a whole-number string such as "1250" for $12.50.
notestringRequiredA short note, kept with the record.
at most 2000 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
Example
curl https://app.getoatmilk.com/api/v1/accounting/budgets.accounts.designate \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"accountId": "4d5e6f7a-8b9c-4d0e-8f1a-2b3c4d5e6f7a",
"expectedRevision": 3,
"purpose": "operating",
"reserveLimitMinor": "1250",
"note": "Synthetic example from the docs"
}'{
"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/budgets.accounts.designate \
-H "Authorization: Bearer $OATMILK_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"accountId": "4d5e6f7a-8b9c-4d0e-8f1a-2b3c4d5e6f7a",
"expectedRevision": 3,
"purpose": "operating",
"reserveLimitMinor": "1250",
"note": "Synthetic example from the docs"
}'More in Budgets and reserves.