Skip to content
Fourohtwo

Job Jacket checkin

www.omenz.org/api/tollbooth/v1/jacket/checkin

Job Jacket checkin: end a shift. state_patch merges (null deletes a key) or state replaces; new checkpoint and note; the jacket becomes a new version and the lease is released. Optional Job Ledger entry (header X-Ledger-Key). Headers X-Jacket-Id / X-Jacket-Key. By OMENZ.

BaseAnswering
POSThttps://www.omenz.org/api/tollbooth/v1/jacket/checkin

Uptime100% of 1 check 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://www.omenz.org/api/tollbooth/v1/jacket/checkin", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"checkpoint":"1 of 2 done","note":"a.com closed Sundays","state_patch":{"done":["a.com"],"todo":["b.com"]},"worker":"agent-b"}),
});
console.log(await res.json());

Example input

{
  "checkpoint": "1 of 2 done",
  "note": "a.com closed Sundays",
  "state_patch": {
    "done": [
      "a.com"
    ],
    "todo": [
      "b.com"
    ]
  },
  "worker": "agent-b"
}