Skip to content
Sign in Create account

GET receipts/errata

GET /api/v1/receipts/errata

Lists signed receipt errata attestations for independent verification.

This operation needs no authentication.

Responses

200 Successful response.

application/json object

  • attestations array of OpenReceiptEnvelope required
  • count integer required
  • how_to_verify string required
  • jwks string (uri) required
  • lookup_key string required

Generated sample

{
  "attestations": [
    {
      "alg": "ecdsa-p256-sha256",
      "chain": {
        "chain_id": "string",
        "prev_hash": "string",
        "seq": 0
      },
      "claims": {
        "egress_attestation": {
          "attester": "desktop",
          "attester_build_hash": "string",
          "zero_payload_proof": {}
        },
        "routing_decision": {
          "model": "string",
          "provider_id": "string",
          "provider_region": "string",
          "reason": "user-selected"
        },
        "tokenisation": {
          "detectors": [
            {
              "count": 0,
              "fingerprint_hmac": "string",
              "id": "string",
              "version": "string"
            }
          ],
          "input_hash": "string",
          "level": "tokenise-reversible",
          "output_hash": "string",
          "tokeniser_binary_hash": "string"
        },
        "x-cloakapi-detection": {
          "basis": "client_declared",
          "coverage": "rules_only",
          "engine_identity": "not_declared"
        }
      },
      "exp": 0,
      "iat": 0,
      "iss": "https://example.com",
      "jti": "string",
      "kid": "string",
      "nbf": 0,
      "sig": "string",
      "sub": "string",
      "v": "v1"
    }
  ],
  "count": 0,
  "how_to_verify": "string",
  "jwks": "https://example.com",
  "lookup_key": "string"
}
429 The route throttle limit was exceeded.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string