Check an x402 SAR receipt
gaip_check_sar_receiptUse this when handed an x402 SAR-shaped receipt (draft proposal shape; may change). Pass sar_receipt, optionally the issuer's public_key. Returns missing fields, whether receipt_id matches the core and whether the signature checks out against that key. Free, read-only, no account; inputs must be public and non-personal.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"public_key": "Y8BpzlWPH3EPRQziEPRBeLS1lJBF4xEo9WaxTNbzNp0",
"sar_receipt": {
"ts": "2026-10-01T09:00:00Z",
"sig": "ogilW-bjlCbYkwwUAIrg_zm_Wuoc6EiRgeErs0RL7llP7FWyX43-LgozZFyCjCXgsViK-A4_aroOo16Q4uvTCg",
"sig_alg": "Ed25519",
"verdict": "PASS",
"confidence": 1,
"receipt_id": "sha256:17146cdeb5aba1c269130348cdc7d3d96ae55f6e048b81d3baa59d4e3f3b188b",
"reason_code": "SPEC_MATCH",
"task_id_hash": "sha256:c8b36982316351a28e040a6520df2092c2c87a4ea611c123d04993074b2b6f1d",
"verifier_kid": "ef654fc8b615b51c",
"receipt_version": "0.1"
}
},
"name": "gaip_check_sar_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| public_key | No | Optional: the issuer's Ed25519 public key, raw 32 bytes base64url or a JWK {kty: OKP, crv: Ed25519, x}. Omit to use GAIP's published keys. | |
| sar_receipt | Yes | The SAR receipt object (or a whole gaip_receipt_export x402 result). |