---
title: "Stateless signature verification against published keys"
method: POST
path: "/receipts/verify"
tags: ["submit"]
---

# Stateless signature verification against published keys

`POST /receipts/verify`

## Request

- Base URL: `https://wellknown.network/api/v1`
- URL: `https://wellknown.network/api/v1/receipts/verify`
- Auth: one of:
  - none
  - HTTP bearer

## Request body

- ReceiptSubmission
  - `body` ReceiptBody, required
    - `version` '1', required
    - `nonce` string, required
    - `task` object, required
      - `description` string
      - `capability` string
      - `inputHash` string
      - `outputHash` string
    - `requester` object, required
      - `agentId` string
      - `name` string
    - `provider` object, required
      - `agentId` string, required
    - `timeline` object, required
      - `requestedAt` string, date-time
      - `acceptedAt` string, date-time
      - `completedAt` string, date-time
    - `outcome` 'completed' | 'failed' | 'cancelled' | 'disputed', required
    - `amount` object
      - `currency` string
      - `value` number
      - `rail` string
      - `reference` string
  - `requesterSignature` string: base64url Ed25519 signature over the hex SHA-256 of the canonical body
  - `providerSignature` string

## Response `200`

OK

- ReceiptVerification
  - `hash` string
  - `provider` object
  - `requester` object

---

[API](https://skmtc.dev/wellknown/apis/wellknown-api.md) · [All operations](https://skmtc.dev/wellknown/apis/wellknown-api/llms.txt) · [OpenAPI document](https://skmtc.dev/wellknown/apis/wellknown-api/revisions/8a177fdcd434?raw)
