All examples

Agent Pay

Machine-to-machine USDC charges. The agent has a pre-authorized scope (budget, per-call cap, expiry, merchant allowlist). validateAgentScope is a 4-line gate before the wallet ever signs.

buildAgentPaymentRequest
Agent Scope
Agent
ag_demo_infere…
Budget
$10
Per-call
$0.25
Expires
59 min
Live counters
Spent
$0.0000
Remaining
$10.0000
Calls
0
Trigger a call