Skip to content
Fourohtwo

Schedule a delayed HTTP callback (a webhook, later)

x402-paywall.huntercarver24.workers.dev/later

Schedule a delayed HTTP callback (a webhook, later): give a public URL, an optional JSON body and headers, and a delay of 60 seconds to 7 days or an absolute time; this host calls the URL then (POST with a body, otherwise GET), one retry, 10-second timeout. GET /later/<id> reports whether it fired and the callee's status. A refused request is not charged.

BaseUnchecked
POSThttps://x402-paywall.huntercarver24.workers.dev/later

UptimeNot 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-paywall.huntercarver24.workers.dev/later", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"body":{"event":"wake","job":42},"delaySeconds":3600,"headers":{"X-Agent":"demo"},"url":"https://httpbin.org/post"}),
});
console.log(await res.json());

Example input

{
  "body": {
    "event": "wake",
    "job": 42
  },
  "delaySeconds": 3600,
  "headers": {
    "X-Agent": "demo"
  },
  "url": "https://httpbin.org/post"
}