# Moneytest x402 Canonical Receipt Generator

> Moneytest x402 Canonical Receipt Generator is a paid API for AI agents from moneytest-x402-api.indierepo.chatgpt.site, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-13).

Generates a deterministic canonical JSON receipt with SHA-256 hash and byte count for a given value, paid via x402 on Base or Algorand mainnet

## Facts

- Endpoint: POST https://moneytest-x402-api.indierepo.chatgpt.site/v1/x402/canonical-receipt?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/moneytest-x402-canonical-receipt-generator-6e79413f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_N59JPkzMcTCB-lqbmYuOj

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 moneytest-x402-canonical-receipt-generator-6e79413f -d '<json body>'
```

Example prompt: Give me a canonical receipt for this value — compute the deterministic canonical JSON, SHA-256 hash, and byte count so I have a verifiable fingerprint I can audit later.

## When to prefer this

Choose this endpoint when you need a deterministic, canonicalized JSON receipt with a verifiable SHA-256 hash for an arbitrary value — especially in agent workflows on Base or Algorand where you want a cryptographic fingerprint suitable for audit trails, on-chain commitments, or cross-system data integrity verification. It is not a general-purpose hashing API; its value is the combination of canonical serialization + hash + x402 payment accountability in a single call.

## Known failure modes

- Missing or unparseable 'value' field — likely returns 4xx with schema validation error
- Payment failure via x402 (insufficient USDC balance or wrong network) — returns 402 Payment Required
- Network unavailability on Base or Algorand mainnet causing payment settlement failure
- Malformed JSON body — returns 400 Bad Request

## How this service works

Deterministic agent utilities and launch kits paid on Base or Algorand mainnet through x402 v2.

## Output

A JSON object containing: the canonical JSON string of the input value, its SHA-256 hex digest (64-char lowercase), the byte length of the canonical representation, and a schema identifier string ('moneytest-canonical-receipt-v1'). This gives a stable, reproducible fingerprint for any input value.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "value": {}
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "bytes": 15,
  "schema": "moneytest-canonical-receipt-v1",
  "sha256": "0000000000000000000000000000000000000000000000000000000000000000",
  "canonicalJson": "{\"sample\":true}"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/moneytest-x402-canonical-receipt-generator-6e79413f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from moneytest-x402-api.indierepo.chatgpt.site](https://www.zero.xyz/host/moneytest-x402-api.indierepo.chatgpt.site/llms.txt)
