Skip to content
Fourohtwo

agent-exec.448c.org/pay

POST /pay -- Deliver an x402 authorization YOU signed to a seller exactly once, then check the chain for what became of it, and get back a signed-in-time receipt of what the seller answered. Retrievable afterwards for free at /pay/{id}.

BaseAnswering
POSThttps://agent-exec.448c.org/pay

Uptime100% of 2 checks in 30 days

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

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agent-exec.448c.org/pay", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"body":{"type":"string","required":false,"description":"Optional request body for the seller, at most 65536 UTF-8 bytes."},"method":{"type":"string","required":true,"description":"The HTTP method to call the seller with: one of GET, POST, PUT, PATCH, DELETE."},"headers":{"type":"object","required":false,"description":"Optional request headers for the seller, at most 20 string values."},"sellerUrl),
});
console.log(await res.json());

Example input

{"body":{"type":"string","required":false,"description":"Optional request body for the seller, at most 65536 UTF-8 bytes."},"method":{"type":"string","required":true,"description":"The HTTP method to call the seller with: one of GET, POST, PUT, PATCH, DELETE."},"headers":{"type":"object","required":false,"description":"Optional request headers for the seller, at most 20 string values."},"sellerUrl