Skip to content
Fourohtwo

Refresh one existing paid Ontario x402 service listing

ontarioprotocol.com/api/x402/refresh-listing

Refresh one existing paid Ontario x402 service listing: a fresh live readiness observation attached to its canonical profile, JSON twin and badge, after the included 30-day maintenance window. A free eligibility check runs at /api/x402/refresh-listing/validate. Payment buys a new observation, not a better grade, metadata edit, ranking, or traffic.

BaseUnchecked
POSThttps://ontarioprotocol.com/api/x402/refresh-listing

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

// 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://ontarioprotocol.com/api/x402/refresh-listing", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"listing_id":"lst_example"}),
});
console.log(await res.json());

Example input

{
  "listing_id": "lst_example"
}