Authorize agent payments via Machine Payments Protocol (MPP). Handles microtransactions, API purchases, service subscriptions within budget governance. Triggered by pay, purchase, buy, transaction, payment, MPP, commerce.
Authorizes payments from an agent to external services using the Machine Payments Protocol (MPP). Integrates with workspace budget enforcement and governance gates to ensure agents spend within approved limits.
/pay <amount> <currency> --to <service> --for <reason> [--recurring <interval>]
| Arg | Required | Default | Description |
|---|---|---|---|
amount | Yes | — | Payment amount (supports micro: 0.001) |
currency | Yes |
USD |
Currency code or USDC for stablecoins |
--to | Yes | — | Service endpoint or provider name |
--for | Yes | — | Human-readable reason (logged to budget) |
--recurring | No | one-time | Interval: hourly, daily, weekly, monthly |
--max | No | from budget | Maximum per-transaction limit override |
--approve | No | auto | Force approval: auto (within threshold) or manual |
company.yaml
- timestamp: 2026-03-20T14:32:00Z
agent: prospector
amount: 0.50
currency: USD
to: browserbase
for: "3 browser sessions for lead scraping"
task_id: task-042
status: completed
# Pay for API access
/pay 0.50 USD --to browserbase --for "browser sessions for lead scraping"
# Subscribe to data feed
/pay 29.99 USD --to "linkedin-enrichment" --for "lead enrichment API" --recurring monthly
# Microtransaction for compute
/pay 0.003 USD --to "compute-provider" --for "10min GPU for analysis"
# Payment requiring approval (over threshold)
/pay 500 USD --to "data-vendor" --for "Q1 industry report" --approve manual
Payment thresholds are defined in company.yaml: