resources/AgentPay/860e265bcf21574f50bcdf33
POSTorigin reachablediscovery only

AgentPay Session Create

Open a budget-capped agent session on AgentPay. Pay $0.001 USDC once — get a session_id, budget config, and gateway URL. Enforces a hard max_spend cap across all subsequent tool calls via the AgentPay SDK. The entry point for agents discovering AgentPay on Base Bazaar.

https://agentpay.tools/tools/session_create/call
USE THIS RESOURCE

Start with a quote-only recipe. Payment signing stays in your project.

CODE
AI CODING TOOLS
quote-check.ts
const response = await fetch("https://agentpay.tools/tools/session_create/call", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
  "replace": "with provider-approved input"
}),
});

console.log(response.status);
console.log(Object.fromEntries(response.headers));
console.log((await response.text()).slice(0, 1000));

// A valid 402 is a quote, not a completed paid call.

Review the provider input schema before running this non-read-only method. No payment code is included.

STATUS HISTORY

  1. Exact route checked

    not safely testable · potentially-mutating-method:POST

  2. Origin reachable

    HEAD https://agentpay.tools/ returned 200.

  3. Observed in 402-index

    Discovered through self-registered.

  4. Registry record checked

    Registry health: healthy.

EVIDENCE

402-indexobserved 2026-07-10 · https://402index.io/api/v1/services
origin checkHEAD https://agentpay.tools/ → 200 on 2026-07-10
route quotenot invoked automatically · potentially-mutating-method:POST · 2026-07-10

Each record has an exact-route quote outcome. Unresolved templates and potentially mutating methods are labeled instead of being invoked without provider-specific test input. A quote is still separate from a settled paid call.

PAYMENT OPTIONS

The registry did not expose full payment options for this record.
AgentPay Session Create · TOLL·402