dev.cocore.compute.verifySettlement

cocore.dev

Documentation

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 any findings.

main query

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 any findings.

Parameters

uri string at-uri Required

The settlement record URI to verify.

Output

Encodingapplication/json
findings array Required

No description available.

ok boolean Required

No description available.

Errors

InvalidRequest The `uri` parameter is missing.
NotFound The settlement, or its referenced receipt/authorization, is not indexed.
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
The settlement record URI to verify.
View raw schema
{
  "type": "query",
  "errors": [
    {
      "name": "InvalidRequest",
      "description": "The `uri` parameter is missing."
    },
    {
      "name": "NotFound",
      "description": "The settlement, or its referenced receipt/authorization, is not indexed."
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "ok",
        "findings"
      ],
      "properties": {
        "ok": {
          "type": "boolean"
        },
        "findings": {
          "type": "array",
          "items": {
            "ref": "dev.cocore.defs#verifyFinding",
            "type": "ref"
          }
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "required": [
      "uri"
    ],
    "properties": {
      "uri": {
        "type": "string",
        "format": "at-uri",
        "description": "The settlement record URI to verify."
      }
    }
  },
  "description": "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 any findings."
}

Lexicon Garden

@