Delete a settlement rule
The rule becomes DELETED and fires on no further payment. Its executions still held are skipped with CANCELLED. A rule still PENDING_APPROVAL is withdrawn, and a change waiting for approval is dropped: the waiting action fails with DELETED_BY_AGENT. Deleting a deleted rule returns it unchanged.
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
Response
The deleted rule
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"