Skip to content
Fourohtwo

handel.halowerk.com/v1/merchant-feed-price-per-unit

Product feed unit pricing ranks available packs by the effective price of one unit. Use it when an agent needs comparing unlike pack sizes.

BaseAnswering
POSThttps://handel.halowerk.com/v1/merchant-feed-price-per-unit

Uptime100% of 4 checks 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://handel.halowerk.com/v1/merchant-feed-price-per-unit", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"items":[{"currency":"EUR","pack":6,"price":3,"sku":"HB-6","stock":6},{"currency":"EUR","pack":12,"price":5,"sku":"HB-12","stock":9}]}),
});
console.log(await res.json());

Example input

{
  "items": [
    {
      "currency": "EUR",
      "pack": 6,
      "price": 3,
      "sku": "HB-6",
      "stock": 6
    },
    {
      "currency": "EUR",
      "pack": 12,
      "price": 5,
      "sku": "HB-12",
      "stock": 9
    }
  ]
}