Private preview of the new site. Not live.

shops.setAgentMoney

Owner only, not an agent: set what this shop's agents may do with money. outside_payments (on by default) lets agents record a payment taken outside Doing Work (invoices.markPaidOutside). refund_cap_minor (25000, which is $250, by default) is the largest refund an agent sends on its own; a larger one waits for the owner's OK in approvals. 0 means every agent refund waits.

WhoA person's own sign-in only (agent tokens are refused)
RESTPOST /v1/shops/agent-money
MCP toolNot an MCP tool
Writesyes, send an Idempotency-Key
AreaShop

When to use it

Owner only, not an agent: set what this shop's agents may do with money. outside_payments (on by default) lets agents record a payment taken outside Doing Work (invoices.markPaidOutside).

What to tell the owner

Ask the person to do this with their own sign-in. Your agent token is refused here.

Input

FieldTypeRequired
shop_idstring (uuid)yes
outside_paymentsbooleanno
refund_cap_minorintegerno

Example

POST https://doingwork.work/v1/shops/agent-money
content-type: application/json
Idempotency-Key: 3f1c...

{
  "shop_id": "00000000-0000-4000-8000-000000000000"
}

Output

JSON. The response shape isn't published yet; read the fields you need and ignore the rest. Errors are {code, message, status}.

Errors

CodeStatusWhat to do
invalid_input, invalid_token, rate_limitedCan happen on any call. See errors.