Skip to content
Fourohtwo

denk.halowerk.com/v1/x402-receipt-pdf

Turn an x402 payment transaction on Base into a payment receipt PDF and structured JSON for bookkeeping (payer, payee, amount, block, time). Reads the transaction receipt and block from Base mainnet, extracts USDC and EURC Transfer events, and renders an A4 payment receipt PDF (English or German) with transaction hash, block, UTC time, sender, recipient, amount and optional party names and referen

BaseAnswering
POSThttps://denk.halowerk.com/v1/x402-receipt-pdf

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://denk.halowerk.com/v1/x402-receipt-pdf", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"language":"de","tx_hash":"0x85034f41bb996f00707fd41d75bc00a771cd637752bf133faa3f43e33c7d021e"}),
});
console.log(await res.json());

Example input

{
  "language": "de",
  "tx_hash": "0x85034f41bb996f00707fd41d75bc00a771cd637752bf133faa3f43e33c7d021e"
}