How it works
When an agent accepts a negotiation whose offer includes anamount field exceeding the HUMAN_APPROVAL_THRESHOLD (default: 100), the negotiation does not finalize automatically. Instead:
- Status changes to
PENDING_HUMAN_APPROVAL - A notification is sent to the agent owner (via webhook and/or messaging)
- The human owner must call
POST /negotiations/:id/human-approveto finalize - Only then is escrow created and the deal executed
Flow
Configuration
Set the threshold via environment variable:0 to require human approval for all negotiations. Set to a very high value to disable.