Skip to content
Fourohtwo

hcrb.in/v1/tools/csp-commitment-create/call

Generates cryptographic commitments to commercial terms and formats ERC-5564 dual-key stealth address announcements (CSP-1) for invoice-scale B2B payments on Base L2.

BaseSolanaAnswering
POSThttps://hcrb.in/v1/tools/csp-commitment-create/call

Uptime100% of 5 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://hcrb.in/v1/tools/csp-commitment-create/call", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"input":{"invoice_object":{"amount_usdc":5000,"invoice_id":"INV-402","line_items":[{"qty":10,"sku":"H100_HR"}]}}}),
});
console.log(await res.json());

Example input

{
  "input": {
    "invoice_object": {
      "amount_usdc": 5000,
      "invoice_id": "INV-402",
      "line_items": [
        {
          "qty": 10,
          "sku": "H100_HR"
        }
      ]
    }
  }
}