Skip to content
Fourohtwo

Caller-declared toll budget for a scheduled delivery tour

lauf.halowerk.com/v1/tours/toll-readiness

Caller-declared toll budget for a scheduled delivery tour. Sum integer-cent toll matrix of actual legs, including return. Currency and prices supplied by caller; no current toll lookup. Uses the paid-qualified existing VRP planner unchanged, then checks this business rule against the actual proposed route. A rule violation yields dispatch_ready=false, never an assertion that the extra constraint w

BaseAnswering
POSThttps://lauf.halowerk.com/v1/tours/toll-readiness

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://lauf.halowerk.com/v1/tours/toll-readiness", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"currency":"EUR","durations_s":[[0,300,480,360],[300,0,240,180],[480,240,0,300],[360,180,300,0]],"jobs":[{"demand":2,"id":"stop-A","point":1,"service_s":120,"window":[0,1800]},{"demand":2,"id":"stop-B","point":2,"service_s":180,"window":[600,3000]},{"demand":1,"id":"stop-C","point":3,"service_s":60,"window":[0,3600]}],"matrix_source":"Illustrative declared delivery times, seconds; not a live road),
});
console.log(await res.json());

Example input

{"currency":"EUR","durations_s":[[0,300,480,360],[300,0,240,180],[480,240,0,300],[360,180,300,0]],"jobs":[{"demand":2,"id":"stop-A","point":1,"service_s":120,"window":[0,1800]},{"demand":2,"id":"stop-B","point":2,"service_s":180,"window":[600,3000]},{"demand":1,"id":"stop-C","point":3,"service_s":60,"window":[0,3600]}],"matrix_source":"Illustrative declared delivery times, seconds; not a live road