Verify an evidence receipt
attestpage_verify_receiptRead-onlyIdempotent
Use when you are handed an AttestPage evidence receipt and need to check it before relying on it: verifies the compact JWS against this service's published keys and returns its payload, so a forged or altered receipt is caught. Free. Free. Docs: https://vehcdj664efetfrsolne5umanq.srv.us/docs/receipt-verify
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receipt | Yes | The compact JWS from the "receipt" field of a response. |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kid | No | Key id from the JWS header. | |
| tier | No | paid, trial or sample. | |
| valid | Yes | True when the signature verifies with one of our keys and the payload matches schema v1. | |
| reason | No | Machine-readable failure reason, only when valid is false. | |
| message | No | Plain-language failure reason, only when valid is false. | |
| payload | No | The decoded receipt payload. |