Billing

Verify a frozen billing statement checksum

Admin-only endpoint that recomputes the SHA-256 checksum for the stored canonical customer statement JSON and returns whether it matches the persisted checksum.

get/admin/billing/statements/{statement_id}/verify

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/admin/billing/statements/{statement_id}/verify
  • Auth: API key in header x-api-key

Path parameters

statement_idstring required

Frozen billing statement id

Headers

x-api-keystring required

Admin API key required unless an Admin JWT is already present

Response

Statement checksum verification

codeinteger
msgstring

Example response

{
  "code": 200,
  "data": {
    "canonical_json_byte_count": 12000,
    "computed_sha256": "7f83b1657ff1fc53b92dc18148a1d65dfa1355e5545b1e8d2b0e9f8c9e48a5d8",
    "frozen_at": "2026-05-01T02:00:00Z",
    "period_key": "2026-04",
    "revision": 1,
    "statement_id": "bps:user-1:2026-04:1",
    "statement_version": "v1",
    "stored_sha256": "7f83b1657ff1fc53b92dc18148a1d65dfa1355e5545b1e8d2b0e9f8c9e48a5d8",
    "user_id": "user-1",
    "valid": true
  },
  "msg": "OK"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.