akwitoEU VAT proof

GET /v1/checks/{id}/anchor

Returns the inclusion path that ties this check to the day it was made. Once a day, akwito builds an RFC 6962 Merkle tree (the construction Certificate Transparency uses) over the response_hash of every check created that day, and has one RFC 3161 token signed over its root. The roots are published in the anchor journal at /anchors.

The per-check token above proves when a check existed. The daily anchor proves what else existed alongside it: a root signed over the whole day cannot be recomputed later without changing every path that hangs from it, so the day's register cannot be rewritten after the fact — not even by us.

http
GET /v1/checks/chk_01J9X0000000000000000000/anchor
Authorization: Bearer ak_live_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
json
{
  "check_id": "chk_01J9X0000000000000000000",
  "day": "2026-09-21",
  "leaf_index": 417,
  "leaf_count": 1290,
  "leaf": "a1b2...",
  "path": [
    {"hash": "c3d4...", "side": "left"},
    {"hash": "e5f6...", "side": "right"}
  ],
  "root": "7788...",
  "authority": "http://timestamp.sectigo.com/qualified",
  "signed_at": "2026-09-22T00:35:12Z",
  "token": "MIIF...=="
}
  • day — the UTC civil day that was anchored, YYYY-MM-DD.
  • leaf_index / leaf_count — the position of this check among the day's leaves, and how many leaves the tree has. Leaves are ordered by check id.
  • leaf — SHA-256(0x00 ‖ response_hash), hex. The RFC 6962 leaf prefix.
  • path — the sibling hashes from the leaf up to the root, each with the side it sits on (left or right), hex, in order.
  • root — the Merkle root of the day, hex. The value the authority signed.
  • authority / signed_at — who signed the root, and when (RFC 3339, UTC).
  • token — the DER TimeStampToken over root, base64. It is the day's token, shared by every check of that day.

Returns 202 Accepted with {"status":"pending"} while the day is not anchored yet: anchoring happens the next morning, shortly after midnight UTC, so a check made today gets its path tomorrow. Returns 404 NOT_FOUND if the check does not exist or does not belong to the caller's account.