# Textdock SHA256 Receipt Verifier

> Textdock SHA256 Receipt Verifier is a paid API for AI agents from textdock.ggez.my.id, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Looks up a previously issued SHA256 content-integrity receipt by its transaction hash and returns a citable, independently verifiable receipt record

## Facts

- Endpoint: GET https://textdock.ggez.my.id/verify_receipt?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/textdock-sha256-receipt-verifier-b75b5908
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_N3bmWD3-WmAHDDxSeHWjp

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability textdock-sha256-receipt-verifier-b75b5908
```

Example prompt: Can you look up the verification receipt for transaction hash e3b0c4...fe1d2a and confirm whether the SHA256 matched and who issued it?

## When to prefer this

Use this endpoint when you already have a Textdock-issued transaction hash and need to retrieve or cite the associated SHA256 content-integrity receipt — for example, during audits, compliance checks, or to provide third parties with a permanent, independently readable verification link. Prefer this over re-running a hash check when you need a historical record tied to an on-chain issuance event.

## Known failure modes

- Invalid or unknown tx_hash returns 404 or empty result
- Malformed tx_hash string causes 400 bad request
- Receipt not yet indexed if called immediately after issuance
- Network or service unavailability returns 5xx error
- tx_hash belonging to a different service or contract returns no match

## How this service works

Deterministic CSV, URL, text and PDF utilities sold per call in USDC on Base, plus /verify_receipt: an independent sha256 check that returns a citable receipt id (GET /receipt/{id}) any third party can re-read later.

## Output

Returns a JSON object containing: receipt_id (unique citable identifier), sha256 (observed hash), expected_sha256 (originally recorded hash), match (boolean indicating integrity), issuer (Ethereum address of the certifier), issued_at (ISO 8601 timestamp), source (type and reference URL of the original artifact), bytes (file size), label (human-readable artifact name), and verify_url (permanent public link to re-read this receipt).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "tx_hash"
     ],
     "properties": {
      "tx_hash": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "bytes": 1256,
  "label": "release v1 tarball",
  "match": true,
  "issuer": "0x5033036702CCeeE23b79022e938a41e0452F908a",
  "sha256": "e3b0c4...",
  "source": {
   "ref": "https://example.com/artifact.bin",
   "type": "url"
  },
  "issued_at": "2026-10-24T06:20:00.000Z",
  "receipt_id": "9f2c1d4a7b6e8035",
  "verify_url": "https://textdock.ggez.my.id/receipt/9f2c1d4a7b6e8035",
  "expected_sha256": "e3b0c4..."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/textdock-sha256-receipt-verifier-b75b5908/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from textdock.ggez.my.id](https://www.zero.xyz/host/textdock.ggez.my.id/llms.txt)
