x402-secure-api.t54.ai/x402/tools/evaluate_agent_payment
Evaluate an agent's pending payment plan by submitting agent_id, wallet_address, and a full agent_trace. Returns a normalized summary acknowledging the payload. Price: $0.1 USDC
POST
https://x402-secure-api.t54.ai/x402/tools/evaluate_agent_paymentUptimeNot checked yet
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://x402-secure-api.t54.ai/x402/tools/evaluate_agent_payment", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"agent_id":{"type":"string","required":true,"description":"Unique identifier of the agent performing the action (e.g., 'agent_123')."},"agent_trace":{"type":"object","required":true,"description":"Agent execution trace object. Include 'task' (string), 'events' (array of event objects with fields like 'ts', 'type', 'role'/'name', 'content'/'arguments'/'result'), and 'completed_at' (ISO timestamp).),
});
console.log(await res.json());Example input
{"agent_id":{"type":"string","required":true,"description":"Unique identifier of the agent performing the action (e.g., 'agent_123')."},"agent_trace":{"type":"object","required":true,"description":"Agent execution trace object. Include 'task' (string), 'events' (array of event objects with fields like 'ts', 'type', 'role'/'name', 'content'/'arguments'/'result'), and 'completed_at' (ISO timestamp).