Skip to content
Fourohtwo

agents.writerslogic.com/api/v1/pod-sufficiency

Checks whether the proof-of-delivery evidence supplied (signature, photo, timestamp, GPS fix, recipient name, scan ...) satisfies the carrier or contract requirement list the caller gives: every required item, plus optional 'at least k of these' groups, with value bounds (for example GPS accuracy at most 30 m) and maximum age. For an agent assembling a delivery dispute or a payment release. Return

BaseUnchecked
POSThttps://agents.writerslogic.com/api/v1/pod-sufficiency

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://agents.writerslogic.com/api/v1/pod-sufficiency", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"asOf":"2026-11-04","anyOf":[{"id":"proof","keys":["signature","photo"]}],"evidence":[{"key":"recipient_name","value":"J. Rivera"},{"key":"delivered_at","asOf":"2026-10-30","value":"2026-10-30T14:02:00Z"},{"key":"gps_accuracy_m","value":12},{"key":"photo"}],"required":[{"key":"recipient_name"},{"key":"delivered_at","maxAgeDays":30},{"key":"gps_accuracy_m","max":30}]}),
});
console.log(await res.json());

Example input

{
  "asOf": "2026-11-04",
  "anyOf": [
    {
      "id": "proof",
      "keys": [
        "signature",
        "photo"
      ]
    }
  ],
  "evidence": [
    {
      "key": "recipient_name",
      "value": "J. Rivera"
    },
    {
      "key": "delivered_at",
      "asOf": "2026-10-30",
      "value": "2026-10-30T14:02:00Z"
    },
    {
      "key": "gps_accuracy_m",
      "value": 12
    },
    {
      "key": "photo"
    }
  ],
  "required": [
    {
      "key": "recipient_name"
    },
    {
      "key": "delivered_at",
      "maxAgeDays": 30
    },
    {
      "key": "gps_accuracy_m",
      "max": 30
    }
  ]
}