Skip to content
Fourohtwo

Datoka Agent

datoka-agent.bhazarstudio.workers.dev/v1/operations/issue_agent_receipt

Datoka Agent: one signed execution declaration receipt. Retry with the same event, idempotency key and payment.

BaseUnchecked
POSThttps://datoka-agent.bhazarstudio.workers.dev/v1/operations/issue_agent_receipt

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://datoka-agent.bhazarstudio.workers.dev/v1/operations/issue_agent_receipt", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"event":{"agentId":"demo-agent","completedAt":"2026-09-29T13:36:18.844Z","inputHash":{"algorithm":"sha256","digest":"206f7b5543e6f2ef39bf334988fd7097b725caeed16588cd9d785480f2f0f8f6"},"outcome":"success","outputHash":{"algorithm":"sha256","digest":"4403134882233d347dfa35d23b98c42a4442478ce521631ef566d21df77e2a52"},"runId":"demo-run","startedAt":"2026-09-29T13:36:18.844Z","stepId":"addition-001","),
});
console.log(await res.json());

Example input

{"event":{"agentId":"demo-agent","completedAt":"2026-09-29T13:36:18.844Z","inputHash":{"algorithm":"sha256","digest":"206f7b5543e6f2ef39bf334988fd7097b725caeed16588cd9d785480f2f0f8f6"},"outcome":"success","outputHash":{"algorithm":"sha256","digest":"4403134882233d347dfa35d23b98c42a4442478ce521631ef566d21df77e2a52"},"runId":"demo-run","startedAt":"2026-09-29T13:36:18.844Z","stepId":"addition-001","