Skip to content
Fourohtwo

Turn your own x402 request log into a payment funnel per endpoint

denk.halowerk.com/v1/x402-funnel-report

Turn your own x402 request log into a payment funnel per endpoint: challenges, paid attempts, verify and settle failures, invalid input and successes. Takes up to 20,000 request events of your own resource server (status code, path, whether a payment header was present, error code, payer) and computes per endpoint the funnel from 402 challenge to paid attempt to settled success, the conversion rat

BaseAnswering
POSThttps://denk.halowerk.com/v1/x402-funnel-report

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

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://denk.halowerk.com/v1/x402-funnel-report", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"events":[{"path":"/v1/x","status":402},{"path":"/v1/x","payer":"0xabc","payment_header":true,"status":200}]}),
});
console.log(await res.json());

Example input

{
  "events": [
    {
      "path": "/v1/x",
      "status": 402
    },
    {
      "path": "/v1/x",
      "payer": "0xabc",
      "payment_header": true,
      "status": 200
    }
  ]
}