---
title: "Verify Receipt"
method: POST
path: "/v1/tools/compute_verify_receipt"
tags: ["TODO_TAGS_REVIEW"]
---

# Verify Receipt

`POST /v1/tools/compute_verify_receipt`

## Request

- Base URL: `https://ainumbers.co`
- URL: `https://ainumbers.co/v1/tools/compute_verify_receipt`
- Auth: none declared

Offline verifier for AINumbers Evidence Envelope v0.1 receipts. Given a receipt JSON, recomputes the RFC 8785 JCS signing preimage, verifies the Ed25519 (EdDSA) signature against the did:key resolved from issuer_id/signatures[].kid, checks hash-field shape (sha256:-prefixed, 64 hex chars), and, when a prior receipt is supplied, recomputes previousReceiptHash to prove the chain link. Verify-only: never issues a receipt, never contacts a transparency log or registry, never resolves a DID document over the network. Every check recomputes from the receipt's own bytes; no self-claimed hash or verdict field is trusted (SO #34).

**Tool URL:** https://ainumbers.co/chaingraph/art-652-verify-receipt.html
**AP2/Policy Mandate export:** yes

## Request body

- object
  - `previous_receipt` unknown
  - `receipt` unknown

## Response `200`

Successful tool execution result

- object
  - `errors` string[]

---

[API](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite.md) · [All operations](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite/llms.txt) · [OpenAPI document](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite/revisions/b462e4f5bb28?raw)
