# Receipt Standard v1

A payment receipt is valid for accounting only when all five fields are known
and the transfer is independently re-read.

## The five fields

1. `tx` — settlement-chain transaction hash.
2. `chain` — CAIP-2 chain ID, e.g. `eip155:8453`.
3. `asset` — token contract address, e.g. `0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913`.
4. `amount` — base units plus decimals; USDC here has 6 decimals.
5. `to` — the recipient address that received the transfer.

## Decision rule

- Read the transaction receipt from two independent RPC endpoints.
- Require status success, the exact asset, the exact recipient, and an amount
  at least equal to the stated amount.
- Require the hash to be unused in the accounting ledger.
- Record the two observations and their fetch times with the entry.
- A listing, rank, badge, credit, escrow reservation, claim code, HTTP 402
  challenge or internal transfer is not a receipt.

## Paid reference implementation

- Single check: `GET https://a-2bfcb8e6-p347-fiatdock-audit-mcp-3hgwe6ziea-uc.a.run.app/verify-usdc-get` — $0.005 USDC.
- Batch check: `POST https://a-2bfcb8e6-p347-fiatdock-audit-mcp-3hgwe6ziea-uc.a.run.app/verify-usdc-batch` — $0.05 USDC.
- Network: `eip155:8453`; asset `0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913`; payTo `0x42640b2922FEdF88822c2943b9a38797dB0B9179`.

The endpoint returns an HTTP 402 challenge before payment. A challenge is a
quote, not a sale. After x402 settlement, the verifier returns a verdict that
can be stored beside the five fields.

## Scope

Read-only. No custody, no refund authority, no dispute resolution, no identity,
no KYC and no account. The standard tells you whether value moved; it does not
tell you whether the underlying deal was fair.
