Verify a receipt bundle (or a batch)

post/verify

Request

  • Base URL: https://api.whitemagic.dev
  • URL: https://api.whitemagic.dev/verify
  • Auth: one of:
    • HTTP bearer
    • API key in header X-WM-Key
    • API key in header X-PAYMENT

Query parameters

require_anchorboolean

Require anchors (missing -> PROVISIONAL)

receiptboolean

Return a signed verification receipt

cacheboolean

Opt in to the in-memory digest->verdict cache (single-bundle requests; 15 min TTL).

Request body

OR
OR

Response

verdict payload; ?receipt=1 adds a signed verification_receipt; ?cache=1 adds a cache object

verdict'TRUSTED' | 'PROVISIONAL' | 'INSUFFICIENT_EVIDENCE' | 'UNTRUSTED' required
provisional_reasonsstring[]
insufficient_reasonsstring[]
summaryobject

Changes

No recorded changes to this operation across all 1 revision of this API.