API Reference
Agents
Configure AutoPay Agent capabilities.
Read config
Returns the current AgentMerchantConfig. If you've never touched it, it's lazy-created with defaults on first read.
Update config
Partial update. Only the keys you send are applied.
Activity log
Returns chronological agent actions. Filter by capability, actionType, outcome, subscriptionId, transactionId, jobId.
Jobs
Auto-approves if amount < commerce.requireHumanApprovalAboveUsdCents; otherwise creates with status proposed.
Webhook events
| Event | Fires when |
|---|---|
agent.action_executed | Any capability completed an action |
agent.job_proposed | A job needs human approval |
agent.job_completed | A job's escrow was released to the vendor |
agent.job_disputed | A job was disputed |
See The AutoPay Agent for the capability-by-capability breakdown.
