AgentPay Gateway — Budget-Capped x402 Spending Session is a paid API for AI agents from agentpay.tools, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).
Creates a budget-capped USDC spending session for an AI agent, returning a session ID, verifiable on-chain receipt, and gateway URL for subsequent tool calls.
A stateful, multi-chain spending session for AI agents. One session enforces a hard USDC budget cap across every tool call, with a verifiable receipt and running ledger for each payment — not a one-shot budget check, but persistent spend governance with a full audit trail. USDC on Base (standard x402) or Stellar (via the AgentPay SDK).
Returns a JSON object containing a unique session_id (UUID), the hard budget max_spend in USDC, the gateway_url and tools_endpoint for subsequent calls, a created_at ISO timestamp, and a receipt object with the Base network identifier, the on-chain transaction hash, and the confirmed USDC amount charged to open the session.
POSThttps://agentpay.tools/v1/session/createChoose this endpoint when an AI agent needs a hard budget cap enforced at the protocol level before making multiple downstream paid API calls — especially in autonomous or unattended workflows where cost overruns are a risk. Prefer this over ad-hoc per-call x402 payments when you need a verifiable on-chain receipt and a single session token to govern a batch of tool calls. Best suited for Base (EVM) wallets paying in USDC.
{
"label": "QA Test Session",
"max_spend": "0.10",
"agent_address": "0x742d35Cc6634C0532925a3b844Bc9e7595f42bE5"
}| Field | Type | Description |
|---|---|---|
| label | string | Optional human-readable session label |
| max_spend | string | Hard budget cap in USDC, e.g. '0.10' |
| agent_address | string | Paying agent's EVM wallet address |
{
"label": "QA Test Session",
"receipt": {
"network": "eip155:8453",
"tx_hash": "0xff73178cfe8c285859ca218e7f026be5149ec01060aeb20c3097e7115b5ede04",
"amount_usdc": "0.01"
},
"sdk_hint": "Use `from agentpay import Session` to enforce the max_spend cap client-side.",
"max_spend": "0.10",
"created_at": "2026-06-12T05:06:36Z",
"session_id": "abef2072-64f9-4935-b246-d96f60ad58f5",
"gateway_url": "https://agentpay.tools",
"agent_address": "0x742d35Cc6634C0532925a3b844Bc9e7595f42bE5",
"tools_endpoint": "https://agentpay.tools/tools"
}{
"receipt": {
"network": "base",
"tx_hash": "0x...",
"amount_usdc": "0.01"
},
"max_spend": "0.10",
"created_at": "2026-05-27T00:00:00Z",
"session_id": "uuid",
"gateway_url": "https://agentpay.tools",
"agent_address": "G...",
"tools_endpoint": "https://agentpay.tools/tools"
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"