dev.cocore.compute.verifyReceipt
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Verify an indexed receipt offline-equivalently: structural checks against its job + attestation, a P-256 ECDSA signature check of `enclaveSignature` against the attestation public key, lexicon-schema validation, and — when an MDA cert chain is present — a hardware-attestation check bound to the signing key. `trustLevel` rises to `hardware-attested` only when a valid Apple chain certifies the receipt-signing key.",
"errors": [
{
"description": "The `uri` parameter is missing.",
"name": "InvalidRequest"
},
{
"description": "The receipt, or its referenced job/attestation, is not indexed.",
"name": "NotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"findings": {
"items": {
"ref": "dev.cocore.defs#verifyFinding",
"type": "ref"
},
"type": "array"
},
"ok": {
"type": "boolean"
},
"trustLevel": {
"enum": [
"self-attested",
"hardware-attested"
],
"type": "string"
}
},
"required": [
"ok",
"trustLevel",
"findings"
],
"type": "object"
}
},
"parameters": {
"properties": {
"uri": {
"description": "The receipt record URI to verify.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri"
],
"type": "params"
},
"type": "query"
}
},
"id": "dev.cocore.compute.verifyReceipt",
"lexicon": 1
}
Metadata
- DID
-
did:plc:5quuhkmwe2q4k3azfsgg7kdz - CID
-
bafyreidrw535h4xfkzi3gpkf4xnnbewmoy7oqy5wujkgogyed2plxstjja - Indexed At
- 2026-06-21 00:58 UTC
- AT-URI
-
at://did:plc:5quuhkmwe2q4k3azfsgg7kdz/com.atproto.lexicon.schema/dev.cocore.compute.verifyReceipt
Referenced Schemas (1)
- dev.cocore.defs#verifyFinding
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Verify the attestations on a record. Resolves the record at `uri`, recomputes the canonical attestation CID, and checks each entry in its signatures array: inline network.attested.signature entries are verified by ECDSA…
-
Verify an indexed settlement against its receipt and the requester's payment authorization: confirms the settlement chain is internally consistent and signed by the settling repo. Returns the verification verdict plus a…