Update a settlement rule
Change a rule the authenticated agent created. Send only the fields to change.
At once: name, status (ACTIVE or PAUSED), holdSeconds and achHoldSeconds apply when the request is made.
Changes that can move more money: match, splits and limits are checked as on create, on the rule as they would make it. When that rule is within the agent’s policy, as POST /agents/me/settlement-rules decides, the change applies at once. Otherwise it waits for the customer’s approval as an UPDATE_SETTLEMENT_RULE agent action, named by pendingChangeActionId, and the AGENT_ACTION.PENDING_APPROVAL webhook fires. Until the action is decided the rule keeps its current match, splits and limits. The fields that apply at once still do, so a request that also sets status to PAUSED pauses the rule straight away. Approving the action checks the change again and applies it; rejecting it, or letting it expire after seven days, drops it. A rule has at most one change waiting.
splits replaces every share and limits replaces both limits, as on PATCH /settlement-rules/{settlementRuleId}. An agent cannot change priority.
Requires the MANAGE_SETTLEMENT_RULES permission.
Authorizations
Bearer token authentication for agent-scoped endpoints. The token is the accessToken returned when redeeming a device code via POST /agents/device-codes/redeem. Agent credentials are user-scoped: all requests are automatically bound to the agent's associated customer and subject to the agent's policy.
Path Parameters
System-generated unique settlement rule identifier
Body
The fields to change. A field left out is unchanged.
1 - 255"Glossier deal"
ACTIVE or PAUSED.
PENDING_APPROVAL, ACTIVE, PAUSED, DELETED 1 - 20 elementsEvery share, replacing the current ones. At most 20.
10 <= x <= 864000
0 <= x <= 864000
Both limits, replacing the current ones. A limit left out is removed; null removes both.
Response
The rule, with any change that waits for approval named by pendingChangeActionId
System-generated unique settlement rule identifier
"SettlementRule:019542f5-b3e7-1d02-0000-000000000001"
"Customer:019542f5-b3e7-1d02-0000-000000000001"
"Glossier deal"
Status of a settlement rule.
PENDING_APPROVAL, ACTIVE, PAUSED, DELETED 1
"USD"
0
86400
Caps on what the rule pays, in the smallest unit of its currency. An execution that would go over a cap is skipped with LIMIT_EXCEEDED, and the customer keeps the payment.
"2026-11-06T18:00:00Z"
"2026-11-06T18:00:00Z"
The agent that created the rule through the agent API. Absent for a rule created with an API token.
"Agent:019542f5-b3e7-1d02-0000-000000000042"
The CREATE_SETTLEMENT_RULE agent action awaiting the customer's approval of the rule. Present while the rule is PENDING_APPROVAL.
"AgentAction:019542f5-b3e7-1d02-0000-000000000099"
The UPDATE_SETTLEMENT_RULE agent action holding a change to the rule's match, shares or limits until the customer approves it. Present while the change waits; the rule keeps its current terms until then.
"AgentAction:019542f5-b3e7-1d02-0000-000000000098"