Skip to content
HALOWERK

Denkwerk

x402 receipt pdf

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 reference. The receipt documents an on-chain payment; it is explicitly not a tax invoice, so no ZUGFeRD data is embedded. The SHA-256 of the PDF is returned for archiving.

POST https://denk.halowerk.com/v1/x402-receipt-pdf

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
tx_hashstringYes
networkstringNo
languagestringNo
payer_namestringNo
payee_namestringNo
referencestringNo
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "tx_hash"
  ],
  "properties": {
    "tx_hash": {
      "type": "string",
      "pattern": "^0x[0-9a-fA-F]{64}$"
    },
    "network": {
      "type": "string",
      "enum": [
        "eip155:8453"
      ],
      "default": "eip155:8453"
    },
    "language": {
      "type": "string",
      "enum": [
        "en",
        "de"
      ],
      "default": "en"
    },
    "payer_name": {
      "type": "string",
      "maxLength": 120
    },
    "payee_name": {
      "type": "string",
      "maxLength": 120
    },
    "reference": {
      "type": "string",
      "maxLength": 200
    }
  }
}

Open original schema

Published input example

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

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’