v8

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-05730512.7 KB
OpenID4VP Verification

Demo: real server-side present + verify

Ask the server to demo-present a sample credential against an OpenID4VP (OpenID for Verifiable Presentations) request. This development shortcut returns a verification result and is unavailable in production.

post/v1/presentations/{uuid}/demo-present

Path parameters

uuidstring uuid required

Identifies the presentation request to answer with a demo presentation.

Request body

object required

Response

Returns the verification result created by the demo presentation.

idstring uuid

Identifies the verification result.

request_idstring uuid

Identifies the presentation request that produced this result.

verdict'verified'

Shows whether the demo presentation verified successfully.

vctstring

Names the VCT (Verifiable Credential Type) that was verified.

verifierstring

Identifies the verifier audience for the presentation.

requested_claimsstring[]

Lists the claim names requested for disclosure.

errorstring

Returns an empty string on success or a failure reason when verification fails.

created_atstring date-time

Records when the verification result was created.

Example response

{
  "id": "f70dd438-88e0-4d48-946c-53138aaa588d",
  "request_id": "15115783-0a0a-4d5e-b096-ea5b8eb87067",
  "verdict": "verified",
  "vct": "AirlineLoyalty",
  "verifier": "checkin-rp",
  "requested_claims": [
    "tier"
  ],
  "disclosed_claims": {
    "tier": "demo-tier"
  },
  "checks": {
    "alg_allowlist": true,
    "aud": true,
    "key_binding": true,
    "nonce": true,
    "not_expired": true,
    "not_revoked": true,
    "signature": true
  },
  "created_at": "2026-07-02T23:33:33.599983+00:00"
}