AgentPay Session CreatePOST /tools/session_create/call · x402 API by AgentPay
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.
What does this x402 API do?
AgentPay Session Create. This is an x402-gated POST API resource from AgentPay. TOLL·402 did not invoke this route automatically because doing so was not considered safe. The listing records $0.001 USD-denominated per request on stellar-mainnet. No settled paid call has been verified.
- Published price
- $0.001 USD-denominated per request
- Networks
- stellar-mainnet
- Latest evidence
- TOLL·402 did not invoke this route automatically because doing so was not considered safe
- Resource ID
- 860e265bcf21574f50bcdf33
Start with a quote-only recipe. Payment signing stays in your project.
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.
- Observed in 402-index
Discovered through self-registered.
- Registry record checked
Registry health: healthy.
- Exact route checked
not safely testable · potentially-mutating-method:POST
- Origin reachable
HEAD https://agentpay.tools/ returned 200.
What evidence supports this listing?
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. Read the discovery and verification methodology →
Which networks and payment options does it accept?
The normalized listing price is $0.001 USD-denominated per request. Raw protocol requirements remain visible below for implementation and audit use.