Wallet Hub ยท Client integration

Application API

Issuance, presentation and Rulebook contracts for server-side applications.

Digital Attestations โ€” Application API

API document version: 1.3.2

Last updated: 2026-10-14

Hub URL: https://openid4vc-hub.com

Default prefix: /api/v1

Contact: contact@talao.io

1. Introduction

This guide covers orientation, quick start, workflows, API reference, complete examples and test-mode limits. Start with Quick Start to integrate one issuance or presentation without needing protocol expertise. The Application calls /api/v1 from its server. The Wallet Hub handles the Wallet-facing interaction.

Your Application
       |
       | REST API
       v
Wallet Hub
       |
       | Secure Wallet interaction
       v
User's Wallet

Keep the API Key on the Application backend. Never send it in a QR code, Wallet invocation URI, browser JavaScript, query parameter or Wallet request.

Digital identity in brief

Term Meaning
Wallet An application chosen by the End-User to store digital attestations and approve sharing the requested information.
EUDI Wallet A European Digital Identity Wallet. It lets a person keep control of identity data and other digital attestations they share with a service.
PID Person Identification Data: a digital attestation used to prove a person's identity.
Attestation Digitally issued information that can be checked by a service, such as identity data, proof of residence, or a professional qualification.
Issuer The organization that issues an attestation to a Wallet.
Verifier The organization or service that requests and checks an attestation presented by a Wallet.

In this API, the Application selects an Issuer to issue an attestation or a Verifier to check one. The End-User always approves the Wallet interaction. The API contract retains credential in field names and resource identifiers; this guide uses attestation when referring to information held by a user.

Examples of workflow

Goal Start with Main operation
Verify a person's identity (PID) Verify a PID with an EUDI Wallet POST /api/v1/presentations
Issue an attestation to a known user Issue an attestation to a known user POST /api/v1/issuances
Verify a PID before issuing an attestation Verify a PID before issuing an attestation POST /api/v1/issuances, then finalization
Revoke, suspend or restore an attestation Suspend, restore or revoke an attestation POST /api/v1/credentials/{credential_id}/status

For executable client examples, see Complete examples at the end of this guide.

Wallets

The End-User selects their Wallet. The application does not receive, choose, or configure it through this API. It displays the qr_code_content returned by the Wallet Hub; the Wallet then asks the End-User to approve the requested data.

Member State EUDI Wallets

Member States are expected to make an EUDI Wallet available from 1 January 2027, subject to their national roll-out schedule.

EUDI-compliant private Wallets

This list is informative only. It is neither a certification nor a guarantee that every Wallet supports every configured Wallet Hub use case. The Application API Key always stays on the application server and is never entered in a Wallet.

Purpose and scope

The Application API is the server-to-server interface between a client Application and the Wallet Hub. It lets an Application:

Your Application communicates only with /api/v1. The Wallet Hub handles the Wallet-facing protocols and returns only the information required by the application. Issuance polling never returns datasets, issued attestations, private signing material or Wallet protocol tokens. Presentation polling returns normalized verified claims, never the raw Wallet presentation.

This document is the implemented /api/v1 client contract. Administration and Wallet protocol implementation are documented in README.md. Test-only API settings are collected in Part 7.

Routes and documentation

GET  /api/v1/health
GET  /api/v1/rulebooks
GET  /api/v1/rulebooks/{rulebook_id}
POST /api/v1/issuances
GET  /api/v1/issuances/{issuance_id}
GET  /api/v1/issuances/{issuer_slug}/wallet-sessions
POST /api/v1/issuances/{issuance_id}/authorization/finalize
POST /api/v1/issuances/{issuance_id}/credentials/{item_id}/decision
POST /api/v1/credentials/{credential_id}/status
POST /api/v1/presentations
GET  /api/v1/presentations/{presentation_id}

These are the Application API routes currently supported.

An interactive Swagger UI is available here. Its downloadable OpenAPI 3.1 contract is served here. These two documentation resources are public and contain no API Key or deployment secret. Actual /api/v1 operations remain protected by X-API-Key.

For manual testing, select Authorize in Swagger UI and enter the complete managed hub_live_... key supplied by the Wallet Hub operator. The UI keeps the key only in browser memory, does not persist it across a reload, and does not send the OpenAPI document to Swagger's public validator. The examples are editable test requests; executing a creation or decision operation creates or changes real API state under the permissions of that API Client.

The OpenAPI document is the machine-readable structural contract. This file remains the detailed behavioral contract and records flow semantics, operational limits and unsupported features.

Authentication and ownership

Every Application API request uses:

X-API-Key: hub_live_<secret>

An API Key belongs to an API Client. Permissions are attached to the client:

Every authenticated API Client can read the common published Rulebook catalogue. Rulebook discovery does not depend on the client's Issuer or Verifier associations. Draft and retired Rulebooks are not exposed.

When API_KEY_REQUIRED is enabled, authentication failures are:

HTTP/1.1 401 Unauthorized
Content-Type: application/json
{"error": "missing_api_key"}

or:

{"error": "invalid_api_key"}

2. Quick Start

The following calls illustrate the API contract of 2 of the most used workflows. Replace every Issuer, Verifier and configuration identifier with an enabled identifier associated with your API Client. Obtain these identifiers and the API base URL from the Wallet Hub operator.

If needed request an X-API-Key to contact@talao.io

Verify a PID with an EUDI Wallet

A PID (Person Identification Data) is a digital attestation of a person's identity. An EUDI Wallet is a European Digital Identity Wallet that lets the End-User keep control over the identity data they share. The application asks the Wallet Hub to verify a PID; it does not ask the Wallet for a particular technical credential format.

Application -> Wallet Hub: create presentation
                    |
                    | PID verification request
                    v
                  Wallet
                    |
                    | User-approved PID presentation
                    v
                   Wallet Hub

Application -> Wallet Hub: poll normalized verified claims
curl --silent --show-error --request POST "$HUB_URL/api/v1/presentations" \
  --header "X-API-Key: $HUB_API_KEY" \
  --header "Content-Type: application/json" \
  --header "Accept: application/json" \
  --data '{
    "verifier": "eudi-verifier",
    "presentation_configuration_id": "eudi-pid-mdoc",
    "expires_in": 300
  }'

Store presentation_id. Display qr_code_content unchanged, or invoke wallet_invocation_uri for a same-device flow. The Wallet Hub handles the Wallet interaction. Poll status_uri until completed, expired or failed. On completion, read the normalized verified information from credentials.

curl --silent --show-error \
  --header "X-API-Key: $HUB_API_KEY" \
  --header "Accept: application/json" \
  "$HUB_URL/api/v1/presentations/<presentation_id>"

The verified PID result is under credentials.pid; do not log or expose it to browser code.

eudi-verifier and eudi-pid-mdoc are configured Wallet Hub identifiers. Confirm with the Wallet Hub operator that they are enabled and associated with your API Client before using them.

See Verify a PID or another attestation and Create a presentation for the workflow and the complete REST contract.

Issue a Proof of Residence to a known user

Before creating the issuance, authenticate the user in your own application and apply the eligibility checks required by your business process.

Application -> Wallet Hub: create issuance
                    |
                    | Attestation delivery request
                    v
                  Wallet
                    |
                    | User accepts the attestation
                    v
                   Wallet Hub

Application -> Wallet Hub: poll issuance

Create the issuance from the Application backend:

export HUB_URL="https://<hub-api-origin>"
export HUB_API_KEY="hub_live_<secret>"

curl --silent --show-error --request POST "$HUB_URL/api/v1/issuances" \
  --header "X-API-Key: $HUB_API_KEY" \
  --header "Content-Type: application/json" \
  --header "Accept: application/json" \
  --data '{
    "issuer": "core-por-issuer",
    "credentials": [{
      "credential_configuration_id": "proof_of_residence_sd_jwt_v2",
      "claims": {
          "resident_address": "100 Kifisias Avenue, Marousi 151 24, Athens, Greece",
          "street_name": "Kifisias Avenue",
          "building_number": "100",
          "postal_code": "151 24",
          "locality": "Marousi",
          "region": "Athens",
          "country": "GR"
      }
    }]
  }'

Store issuance_id. Display qr_code_content unchanged. The Wallet Hub handles the Wallet interaction and delivers the attestation. Poll until completed, expired or failed:

curl --silent --show-error \
  --header "X-API-Key: $HUB_API_KEY" \
  "$HUB_URL/api/v1/issuances/<issuance_id>"

See Issue an attestation to a known user and Create an issuance for the workflow and the complete REST contract.

3. Core concepts

Term Meaning
Application Your server-side product integrating /api/v1. It owns business decisions and keeps the API Key.
API Client / API Key An administrator-configured client and its managed hub_live_... key. Associations limit which Issuers and Verifiers it can use.
Issuer The Wallet Hub configuration that issues attestations.
Credential Configuration A configured type of attestation that can be issued by an Issuer. It defines the accepted claims and the technical settings used by the Wallet Hub.
Credential Dataset One Application-supplied set of business claims to be issued as an attestation under a Credential Configuration.
Verifier A configured Wallet Hub service used to request and verify information from a Wallet.
Presentation Configuration A predefined verification request that determines what information the user will be asked to share.
Rulebook A published description of an attestation type, including its meaning, attributes, governance and applicable policies. It is read-only through this API.

Identifier guide

Identifier Scope and use
issuance_id Opaque Application API session identifier used to poll an issuance.
presentation_id Opaque Application API session identifier used to poll a presentation.
item_id Numeric identifier of one credential item inside an issuance; used for finalization and deferred decisions.
credential_configuration_id Identifier of the configured attestation type to issue. The Wallet Hub operator provides the available identifiers.
credential_id Opaque identifier of an issued attestation used for lifecycle operations such as suspension or revocation.

4. Workflows

Issue an attestation to a known user

Use this workflow when the Application has already authenticated the user, applied its eligibility checks, and holds the data to issue. The Wallet Hub does not authenticate the user for this workflow.

Application -> Wallet Hub: create issuance
Wallet Hub -> Application: QR content
Application -> User: display QR
Wallet Hub <-> Wallet: deliver attestation
Application -> Wallet Hub: poll status
  1. The Application calls POST /api/v1/issuances with an Issuer and one or more datasets to issue to that user.
  2. It stores issuance_id and gives the exact qr_code_content from the creation response to its QR renderer. If it requested a Transaction Code, it communicates that code separately from the QR code.
  3. The Wallet obtains the attestation from the Wallet Hub. The Application polls GET /api/v1/issuances/{issuance_id} until completed, expired or failed, bounded by expires_at.

API operations:

The Application never sends its API Key to the Wallet. See the Python and JavaScript examples and the Create an issuance and Get an issuance contracts.

Issue an attestation with a transaction code

Use this workflow when a code must be communicated to the user separately from the QR code, for example through an authenticated channel. The Application supplies tx_code while creating the issuance, displays the QR content, and communicates the code separately; the Wallet Hub handles the rest.

API operations:

See With Transaction Code for the exact request and constraints.

Issue different attestations in the same session

Use this workflow when one user should receive several different attestation types in one issuance. Each entry uses its own credential_configuration_id and dataset.

One issuance
   |
   +-- Proof of Residence
   +-- Employee Attestation
   +-- Email Attestation

API operations:

See Create an issuance for the complete contract.

Issue several attestations of the same type

A single issuance can contain several datasets for the same Credential Configuration when the issuance mode permits it.

For immediate issuance, a Wallet can also obtain further instances of one authorized dataset using the same valid Access Token. Every request validates fresh proofs and nonces, and retains the token's configuration/dataset and Wallet bindings. This does not require another Application API creation or authorization. Token and session expiry still apply; deferred issuance retains its existing transaction lifecycle.

One issuance
   |
   +-- Proof of Residence #1
   +-- Proof of Residence #2

Each entry is a separate dataset. For application_decides, the Application chooses the effective mode at creation; a deferred item is later marked ready or failed through the decision operation. See Several datasets of the same type and Deferred decision for the exact contracts.

Verify a PID or another attestation

Use POST /api/v1/presentations when the Application needs verified claims without issuing an attestation. The primary documented journey is PID verification with eudi-verifier and eudi-pid-mdoc. The same endpoint also verifies other configured attestations, such as a proof of residence or a professional attestation.

The selected Presentation Configuration defines what the Wallet is asked to present. The Application supplies only the Verifier, the Presentation Configuration identifier, and optionally the session lifetime and application return URL. It does not send or alter the Wallet request rules.

  1. Create the presentation with POST /api/v1/presentations.
  2. Display the returned qr_code_content unchanged.
  3. Poll the returned status_uri.
  4. When the status is completed, read the normalized verified information.

The Wallet Hub returns only normalized verified information, never the raw Wallet presentation. See the Python and JavaScript examples, or the complete Create a presentation and Get a presentation contracts for status and error behavior.

For same-device EUDI use, a successful Wallet response may include a single-use, session-bound redirect_uri to the Wallet Hub terminal result page. Cross-device applications continue polling normally.

Verify a PID before issuing an attestation

Use this workflow when verified PID information must inform the application's decision to issue an attestation.

Application -> Wallet Hub -> Wallet
                    <- verified presentation
Application <- normalized verified claims
Application -> Wallet Hub: final attestation datasets or rejection
Wallet Hub -> Wallet: issuance continues

The Application waits for authorization.status=awaiting_application, then finalizes every item with outcome=ready or rejects the issuance. Final datasets are frozen, identical finalization is idempotent, and a rejection becomes an access-denied result when the Wallet resumes. The Application decides which attestation data to issue; the Wallet Hub never derives it from the PID. See the Python and JavaScript examples. The finalization operation defines the exact request and state rules.

API operations:

Wallet-initiated issuance with presentation-backed authorization

An Issuer can allow Credential Offers, direct Wallet starts, or both. When it allows both with Authorization Code, the Application explicitly selects the operation on POST /api/v1/issuances: initiation_mode=issuer_initiated creates an individual offered issuance; initiation_mode=wallet_initiated prepares the permanent direct-start workflow. Preparing the workflow does not create an offer, and creating an offer does not replace the permanent workflow. Each direct Wallet start has its own expiring session and Application decision. The existing ownership, polling and finalization operations apply to both. For Issuers allowing just one start, existing requests omit this selector.

Use this workflow when the Wallet starts issuance from the Issuer URL and the Application requires a verified presentation before deciding whether to issue an attestation. The Issuer must allow wallet_initiated (either that mode or both); the API Client must be associated with both the Issuer and the selected Verifier.

The Issuer has a permanent configuration that defines the attestations that may be issued and the authorization mode. For openid4vp, it also defines the presentation required for authorization. Wallets can start independently from the same Issuer URL at any time while the Issuer is enabled. Each request creates an individual, expiring issuance session and, for openid4vp, its own presentation request. The configuration itself does not expire. The Application supplies the data for each issuance after successful presentation verification. The configuration itself contains no issuance data.

Application -> Wallet Hub: configure permanent Wallet-initiated authorization
Wallet Hub -> Application: Issuer URL and Wallet session listing URL
Wallet -> Wallet Hub: request issuance from the Issuer URL
Wallet Hub -> Wallet: request the configured presentation
Wallet -> Wallet Hub: present the required attestation
Wallet Hub -> Application: verified information for this issuance session
Application -> Wallet Hub: approve with issuance data, or reject
Wallet Hub -> Wallet: continue authorization and deliver the attestation

The Wallet Hub validates the presentation and makes the normalized verified information available to the Application. The Application uses that information to identify the user when required, check eligibility and select the data to issue. The Hub does not automatically turn presented claims into issuance data. If the Application approves, the Hub resumes the Wallet's Authorization Code flow and delivers the requested attestation. If it rejects, the authorization ends with an access-denied response.

  1. Configure the workflow with POST /api/v1/issuances, selecting initiation_mode=wallet_initiated when the Issuer allows both, grant_type=authorization_code, authorization.mode=openid4vp, the Presentation Configuration and the Credential Configuration(s) to issue. Omit issuance claims and tx_code. expires_in sets the lifetime of each future issuance session; it does not expire the configuration.
  2. Store the returned issuer and wallet_sessions_uri, and provide issuer_url to Wallet users. This response has no issuance_id, Credential Offer or QR: configuring the workflow does not create an issuance session.
  3. Discover Wallet sessions through the returned wallet_sessions_uri, namely GET /api/v1/issuances/{issuer_slug}/wallet-sessions. Each has a distinct issuance_id, even when several Wallets request the same scope.
  4. For each session with authorization.status=awaiting_application, read the normalized verified information and make the Application's business decision.
  5. Call POST /api/v1/issuances/{issuance_id}/authorization/finalize with outcome=ready, that session's item_id values and the data to issue, or outcome=rejected. Poll the individual session until issuance completes.

The configuration remains available while the Issuer is enabled. Only the individual issuance sessions and their temporary protocol artifacts expire. Presentation results, application decisions and issuance data remain separate for each Wallet session.

See Wallet-initiated creation, Wallet-initiated create response, List wallet-initiated issuance sessions and Finalize after verification for the API contracts.

Deferred business decision

Use this workflow when the Application cannot decide immediately whether an attestation should be delivered.

Attestation requested
        |
        v
Business decision pending
        |
        +--> ready
        |
        +--> failed

After the Wallet has made its initial Credential Request, the Application marks the deferred item ready or failed. See Deferred decision for the exact contract.

API operation: POST /api/v1/issuances/{issuance_id}/credentials/{item_id}/decision.

Suspend, restore or revoke an attestation

When lifecycle management is enabled for an attestation, issuance polling can return an opaque credential_id in credentials[].status_credentials[]. Store this identifier if the Application needs to suspend, restore or revoke the attestation later. The issuance request does not change.

issue
  |
  v
credential_id
  |
  +--> valid
  |
  +--> suspended (two-bit lists only) --> valid
  |
  +--> invalid
{
  "issuance_id": "b55df066-c201-4f32-a7e8-fd8cf29db614",
  "status": "completed",
  "credentials": [
    {
      "item_id": 42,
      "credential_configuration_id": "eu.europa.ec.eudi.pid_jwt_vc",
      "status": "issued",
      "status_credentials": [
        {
          "credential_id": "cs_R4nd0mUnpr3d1ct4bl3Ident1fier",
          "status": "valid"
        }
      ]
    }
  ]
}

Store credential_id with your own business record, such as an employee, training record or issuance request, only when you need later lifecycle control. It is generated by the Wallet Hub. It is not a Wallet protocol identifier or a Status List coordinate. status_credentials is absent when Status Lists are disabled for the Credential Configuration. An issuance with several items or holder bindings can return several status references.

When an administrator enables batch credential issuance for the Issuer, the Wallet can receive several instances of the same configuration and dataset from one Credential Endpoint request. The Application API creation payload and grant selection remain unchanged: client applications do not select the batch size or provide holder keys, proofs, Status List coordinates, or batch metadata. Polling still reports one item per requested dataset, and a status-enabled batch returns one status_credentials entry per issued copy. Each opaque credential_id can be updated independently using the existing status endpoint. Raw credentials and proofs remain absent from polling. Immediate and deferred delivery share these rules; one notification may cover the entire batch. Issuer batch support does not enable EUDI reuse policies or refresh-token re-issuance.

Change attestation status

POST /api/v1/credentials/{credential_id}/status
X-API-Key: hub_live_<secret>
Content-Type: application/json

Mark an attestation as revoked (invalid):

curl --silent --show-error --request POST \
  "$HUB_URL/api/v1/credentials/cs_opaque_credential_id/status" \
  --header "X-API-Key: $HUB_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{"status":"invalid"}'

Suspend an attestation temporarily, only when its Credential Configuration uses a two-bit Status List:

curl --silent --show-error --request POST \
  "$HUB_URL/api/v1/credentials/cs_opaque_credential_id/status" \
  --header "X-API-Key: $HUB_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{"status":"suspended"}'

Restore an attestation to valid status when business policy permits it:

curl --silent --show-error --request POST \
  "$HUB_URL/api/v1/credentials/cs_opaque_credential_id/status" \
  --header "X-API-Key: $HUB_API_KEY" \
  --header "Content-Type: application/json" \
  --data '{"status":"valid"}'

Each successful request returns the identifier, requested status and updated_at, for example:

{
  "credential_id": "cs_opaque_credential_id",
  "status": "invalid",
  "updated_at": "2026-09-24T15:30:00Z"
}

Allowed values are valid, invalid, and, for a two-bit Status List, suspended. The Wallet Hub resolves the opaque identifier privately; Applications never send a Status List URI or index. A managed API Key must belong to the API Client that owns the original issuance. The transitional master-key bypass keeps the compatibility semantics described in Authentication and ownership.

During a successful presentation, an attestation with a Status List reference contains nested verification.credential_status, for example {"checked":true,"value":"valid"}. The Wallet Hub automatically checks the attestation status during verification. An attestation whose value is invalid or suspended does not produce a successful verification result.

Status endpoint errors use the current Application API error shape: 400 for an absent or unsupported status, 403 for a managed API Client that does not own the attestation, 404 for an unknown credential_id, and 409 when the list is unavailable or does not permit suspension.

See Change attestation status for the authoritative REST contract.

5. API Reference

The operations below are the implemented server-to-server /api/v1 contract.

If needed request an X-API-Key to contact@talao.io

Authentication

Every operation in this section requires X-API-Key: hub_live_<secret> as defined in Authentication and ownership. That section also defines API Client ownership and authentication errors.

Health

GET /api/v1/health
X-API-Key: hub_live_<secret>
Accept: application/json

Success:

HTTP/1.1 200 OK
Content-Type: application/json
{
  "status": "ok"
}

This verifies the Flask Application API and its authentication path. It is not a detailed PostgreSQL, Redis or external dependency diagnostic.

Rulebooks

A Rulebook defines the semantic, governance and policy framework of an EAA Credential Type available on the Wallet Hub. Rulebooks are managed by the Wallet Hub administrator and are read-only resources for API clients.

Rulebooks and their associated Credential Types are managed by the Wallet Hub administrator. Clients select an existing Rulebook to use as the basis for services such as an Issuer or Verifier. This version only exposes catalogue discovery: it does not create or configure those services.

Only Rulebooks with status=published are returned. Draft and retired Rulebooks are not discoverable through this API. The endpoints do not currently provide filters or pagination.

List published Rulebooks

GET /api/v1/rulebooks
X-API-Key: hub_live_<secret>
Accept: application/json

There are no path or query parameters.

Success:

HTTP/1.1 200 OK
Content-Type: application/json
{
  "rulebooks": [
    {
      "id": 12,
      "identifier": "employee-rulebook",
      "name": "Employee Credential Rulebook",
      "version": "1.0",
      "status": "published",
      "description": "Rules for the Example Corp employee EAA.",
      "organization": "Example Corp",
      "author": "Identity Governance Team",
      "credential_type": {
        "id": 7,
        "identifier": "employee-credential",
        "name": "Employee Credential"
      }
    }
  ]
}

An empty catalogue returns 200 with {"rulebooks": []}.

Get one published Rulebook

GET /api/v1/rulebooks/12
X-API-Key: hub_live_<secret>
Accept: application/json

rulebook_id is the stable positive integer returned as id by the list endpoint. It is the reference reserved for future Issuer and Verifier configuration workflows. The textual identifier and version describe the versioned Rulebook but do not replace rulebook_id in future API references.

Success:

{
  "id": 12,
  "identifier": "employee-rulebook",
  "name": "Employee Credential Rulebook",
  "version": "1.0",
  "status": "published",
  "description": "Rules for the Example Corp employee EAA.",
  "organization": "Example Corp",
  "author": "Identity Governance Team",
  "profile": "private_eaa_v1",
  "governance": {
    "organization": "Example Corp",
    "author": "Identity Governance Team",
    "contact": "identity@example.com"
  },
  "references": {
    "source_url": "https://example.com/rulebooks/employee",
    "legal": "Example Corp employment policy.",
    "standards": "OpenID4VCI 1.0."
  },
  "policies": {
    "issuance": "Only HR may approve issuance.",
    "binding": "The credential is device bound.",
    "status_or_revocation": "Revoke when employment ends.",
    "validation": "Validate signature and validity.",
    "usage": "Use only for employment verification.",
    "presentation": "Request only necessary attributes."
  },
  "trust": {
    "policy": "Trust Example Corp issuers."
  },
  "additional_information": "Policy owner HR.",
  "credential_type": {
    "id": 7,
    "identifier": "employee-credential",
    "name": "Employee Credential",
    "description": "Employment information issued by Example Corp.",
    "attributes": [
      {
        "name": "employee_id",
        "display_name": "Employee ID",
        "description": "Stable employee identifier.",
        "data_type": "string",
        "mandatory": true
      }
    ],
    "technical_representations": [
      {
        "id": 19,
        "name": "Employee SD-JWT",
        "credential_configuration_id": "employee_sd_jwt",
        "format": "dc+sd-jwt",
        "vct": "https://example.com/vct/employee",
        "doctype": null
      }
    ]
  }
}

The response is assembled from the existing Rulebook, Credential Type, claims and Credential Configuration Templates. It does not create a second claim or technical-representation model. Claim-level semantic references are omitted because the current claim model has no separate semantic-reference field.

Errors:

HTTP Response Cause
401 {"error":"missing_api_key"} The requiredX-API-Key is absent.
401 {"error":"invalid_api_key"} The API Key or API Client is invalid, disabled, revoked or expired.
404 {"error":"Rulebook not found"} The ID is unknown or the Rulebook is not published. The response is deliberately identical in both cases.

There is no Application API POST, PUT, PATCH or DELETE Rulebook route. API clients also cannot create a reference Credential Type through /api/v1.

Issuances

Create an issuance

POST /api/v1/issuances
X-API-Key: hub_live_<secret>
Content-Type: application/json
Accept: application/json

Creates an operation that delivers one or more attestations to a user's Wallet. Every requested Credential Configuration must be enabled and belong to the selected Issuer.

Basic issuance

Omit grant_type to select the Wallet Hub's standard issuance behavior. The application supplies the Issuer, configured attestation type and business claims; the Wallet Hub applies the configured format, signing policy, holder binding and interoperability profile.

{
  "issuer": "core-por-issuer",
  "credentials": [
    {
      "credential_configuration_id": "proof_of_residence_sd_jwt",
      "claims": {
        "resident_address": "100 Kifisias Avenue, Athens",
        "country": "GR"
      }
    }
  ]
}
PID mdoc dataset with France Identite mappings

Input claims keys are business sources defined by the selected Credential Configuration; they are not necessarily the final credential's claim names. For eu.europa.ec.eudi.pid_mdoc copied from the France Identite template, use a formatted address string and flat address components. For example:

{
  "issuer": "core-pid-issuer",
  "credentials": [
    {
      "credential_configuration_id": "eu.europa.ec.eudi.pid_mdoc",
      "claims": {
        "family_name": "Doe",
        "given_name": "Jane",
        "birthdate": "1990-01-01",
        "place_of_birth": {"country": "FR", "region": "Ile-de-France", "locality": "Paris"},
        "nationalities": ["FR"],
        "sex": 2,
        "email": "jane.doe@example.com",
        "phone_number": "+33102030405",
        "address": "10 rue de la Paix, 75002 Paris, France",
        "address_country": "FR",
        "address_region": "Ile-de-France",
        "address_locality": "Paris",
        "address_postal_code": "75002",
        "address_street_address": "10 rue de la Paix",
        "issuing_authority": "France Identite Playground",
        "issuing_country": "FR",
        "date_of_issuance": "2026-08-24",
        "date_of_expiry": "2035-01-01",
        "document_number": "PID-TEST-0001",
        "issuing_jurisdiction": "FR"
      }
    }
  ],
  "tx_code": {"input_mode": "numeric", "length": 6, "value": "123456"}
}

This example uses the default Pre-Authorized Code grant; the selected Issuer, configuration, SigningKey and Authorization Server must be enabled and ready for mdoc issuance. For Authorization Code, select that grant and the explicit supported authorization mode, and omit tx_code entirely.

The mdoc mappings publish birth_date, nationality, email_address, mobile_phone_number, resident_address and the corresponding resident_* components under eu.europa.ec.eudi.pid.1. Do not rename input birthdate or email: these mappings expect those source names. sex is an integer, not "2". For the SD-JWT VC configuration, retain the nested address object (formatted, country, region, locality, postal_code, street_address, house_number); the credential uses birthdate, nationalities, email and phone_number directly. Custom configurations may define different business sources, so inspect their mappings. These examples cover the sandbox subset, not every mandatory/optional PID attribute.

Verify before issue

This example requests a PID presentation before issuing a Proof of Residence (PoR). The initial request deliberately contains no issuance claims:

{
  "issuer": "core-por-issuer",
  "grant_type": "authorization_code",
  "authorization": {
    "mode": "openid4vp",
    "verifier": "core-verifier",
    "presentation_configuration_id": "pid-sd-jwt"
  },
  "expires_in": 600,
  "credentials": [
    {
      "credential_configuration_id": "proof_of_residence_sd_jwt"
    }
  ]
}

The API Client must be associated with both core-por-issuer and core-verifier. The Verifier and Presentation Configuration slugs select the existing verification request; the application cannot override its configured request rules. After the PID has been verified, the application reads the normalized result from issuance polling, applies its own business rules, and provides the PoR claims through the finalization endpoint described below.

PID-to-PoR is an example, not a hard-coded mapping. The same mode can use any supported Presentation Configuration and any Issuer Credential Configuration. The Wallet Hub verifies the selected attestation but never derives the credential to issue from it: the application remains solely responsible for deciding the outcome and supplying every issuance claim.

Wallet-initiated creation

For an Issuer configured as wallet_initiated or both, the same creation endpoint requires an explicit grant_type=authorization_code and authorization strategy. For an Issuer allowing only one initiation mode, omit initiation_mode; the existing default behavior is unchanged. For an Issuer configured as both, initiation_mode is required for Authorization Code creation: wallet_initiated prepares direct authorization, while issuer_initiated creates an individual issuance with a Credential Offer. both is an Issuer setting, not an accepted request value. Requesting a mode disabled on the Issuer returns invalid_request. For Pre-Authorized Code, an omitted initiation_mode defaults to issuer_initiated on a both Issuer, including when grant_type is omitted and uses its Pre-Authorized Code default. This never enables a start mode disabled on the Issuer; Wallet-initiated issuance requires Authorization Code. An active managed API Client associated with the Issuer is required; the legacy master key cannot prepare this flow.

With authorization.mode=openid4vp, creation saves a permanent authorization configuration. expires_in defines the lifetime of each future issuance session. The API Client must also be associated with the selected Verifier. Omit claims and tx_code:

{
  "issuer": "haip-wallet-por",
  "grant_type": "authorization_code",
  "authorization": {
    "mode": "openid4vp",
    "verifier": "haip-verifier-2",
    "presentation_configuration_id": "pid-sd-jwt"
  },
  "credentials": [
    {"credential_configuration_id": "proof_of_residence_sd_jwt_v2"}
  ],
  "expires_in": 1800
}

Each valid Wallet request creates an independent issuance owned by this API Client. Configured scopes must route unambiguously to an Issuer on the Authorization Server. Concurrent Wallet sessions are independent. Updating the configuration does not create a parent issuance session or an initiation ID.

See the Wallet-initiated workflow and response fields.

For a both Issuer, add "initiation_mode": "wallet_initiated" to the example above. To create an offered issuance for that same Issuer, use "initiation_mode": "issuer_initiated" with an existing offered-issuance request. The selector is independent of grant_type and authorization.mode. The direct operation requires Authorization Code and an active managed API Client. Issuer configuration both never appears as a session initiation value.

With Transaction Code
{
  "issuer": "core-pid",
  "grant_type": "urn:ietf:params:oauth:grant-type:pre-authorized_code",
  "tx_code": {
    "value": "123456",
    "input_mode": "numeric",
    "description": "Enter the code displayed by the issuer application"
  },
  "expires_in": 600,
  "credentials": [
    {
      "credential_configuration_id": "pid_sd_jwt",
      "claims": {
        "family_name": "DOE",
        "given_name": "JOHN",
        "birthdate": "1990-01-01"
      }
    }
  ]
}

grant_type may be omitted in this second example because Pre-Authorized Code is the default. The explicit value is shown to make the selected flow unambiguous. authorization must be omitted for this grant. tx_code itself is optional for Pre-Authorized Code; when present, its clear value is never sent to the Wallet-facing flow.

Several datasets of the same type

The same Credential Configuration can be prepared with several distinct Credential Datasets in a Pre-Authorized Code issuance:

{
  "issuer": "core-pid",
  "grant_type": "urn:ietf:params:oauth:grant-type:pre-authorized_code",
  "credentials": [
    {
      "credential_configuration_id": "pid_sd_jwt",
      "claims": {
        "family_name": "DOE",
        "given_name": "ALICE"
      }
    },
    {
      "credential_configuration_id": "pid_sd_jwt",
      "claims": {
        "family_name": "MARTIN",
        "given_name": "BOB"
      }
    }
  ]
}

Each entry represents a distinct attestation dataset. The Wallet Hub handles Wallet-side delivery independently. Dataset values and internal delivery identifiers are never exposed through Application API polling.

Top-level fields:

Field Type Required Description
issuer string yes Enabled Issuer slug configured in the Wallet Hub.
credentials array yes Non-empty array of credential requests.
initiation_mode string conditional Required for Authorization Code with an Issuer configured as both. For Pre-Authorized Code on a both Issuer, defaults to issuer_initiated. issuer_initiated creates an offer; wallet_initiated prepares direct authorization. Single-mode Issuers retain their configured default.
grant_type string no authorization_code or urn:ietf:params:oauth:grant-type:pre-authorized_code; defaults to the latter.
authorization object conditional Required with grant_type=authorization_code. Use {"mode":"openid4vp","verifier":"...","presentation_configuration_id":"..."} for the verify-before-issue workflow. Omit it for Pre-Authorized Code. Additional test settings are documented only in Part 7.
tx_code object no Transaction Code configuration described below.
expires_in integer no Session lifetime in seconds; defaults to 600.

Fields in credentials[]:

Field Type Required Description
credential_configuration_id string yes Enabled configuration ID belonging to the selected Issuer.
claims object conditional Dataset stored for this credential item. Required for standard Pre-Authorized Code issuance. Omit it for openid4vp, then provide each session dataset through authorization finalization after verification. Test-specific rules are documented in Part 7.
issuance_mode string conditional Required only when the selected Credential Configuration uses application_decides; allowed values are immediate and deferred. Rejected for configurations with a fixed mode.

The same credential_configuration_id can appear more than once in a Pre-Authorized Code issuance, with each entry representing a distinct Credential Dataset. Repetition remains rejected for Authorization Code. The Application selects the Credential Configuration; the Wallet Hub applies the configured format, signing policy, holder binding and interoperability profile. The Application does not select signing or Wallet proof parameters.

For an mdoc configuration, supply binary claims such as portrait as base64 strings (standard or URL-safe), or as base64 data URIs. Supply dates as YYYY-MM-DD and date-times with a timezone, for example 2025-01-01T00:00:00Z. For mDL, driving_privileges is an array of objects with vehicle_category_code and optional issue_date / expiry_date dates.

Issuance create response

Success:

HTTP/1.1 201 Created
Location: /api/v1/issuances/5fbf6e42-8463-4b4a-a884-70ae94d66577
Content-Type: application/json
{
  "id": "5fbf6e42-8463-4b4a-a884-70ae94d66577",
  "issuance_id": "5fbf6e42-8463-4b4a-a884-70ae94d66577",
  "status": "pending",
  "created_at": "2026-08-24T10:00:00+00:00",
  "expires_at": "2026-08-24T10:10:00+00:00",
  "credentials": [
    {
      "item_id": 42,
      "credential_configuration_id": "pid_sd_jwt",
      "issuance_mode": "immediate",
      "deferred_status": null,
      "status": "pending",
      "issued_at": null,
      "notification": null
    }
  ],
  "credential_offer_uri": "https://hub.example/issuer/core-pid/credential-offer/offer_...",
  "qr_code_content": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2F..."
}

id and issuance_id currently contain the same UUID. New integrations should use issuance_id as the Application API identifier.

For issuer-initiated creation, qr_code_content is the exact string to encode in the QR code. The client must not reconstruct or alter it. credential_offer_uri and qr_code_content are returned only by the creation call. The status URL is provided by the HTTP Location header rather than a status_url JSON property.

Wallet-initiated create response

For a Wallet-initiated Issuer, the 201 response returns issuer_url rather than credential_offer_uri or qr_code_content. In OpenID4VP mode, it describes the permanent configuration and has no issuance_id or expires_at:

{
  "issuer": "haip-wallet-por",
  "initiation_mode": "wallet_initiated",
  "issuer_url": "https://hub.example/issuer/haip-wallet-por",
  "status": "configured",
  "session_expires_in": 1800,
  "credentials": [
    {"credential_configuration_id": "proof_of_residence_sd_jwt_v2"}
  ],
  "authorization": {
    "mode": "openid4vp",
    "verifier": "haip-verifier-2",
    "presentation_configuration_id": "pid-sd-jwt"
  },
  "wallet_sessions_uri": "/api/v1/issuances/haip-wallet-por/wallet-sessions"
}
Field Meaning
issuer Issuer slug selected at configuration.
initiation_mode wallet_initiated, identifying the selected direct-start workflow (including an Issuer configured as both).
issuer_url Stable Issuer URL to supply to the Wallet.
session_expires_in Lifetime in seconds of each future issuance session.
wallet_sessions_uri Relative owner-only URL for listing independent Wallet sessions.

Get an issuance

completed means every item has been issued at least once; it does not revoke the Wallet's Access Token. For immediate items, further valid Wallet requests can issue new instances until token or session expiry. issued_at remains the first successful issuance time. Each new status-enabled instance adds its own status_credentials entry, independently controllable through the status API. No new Application API endpoint or request property is required.

GET /api/v1/issuances/{issuance_id}
X-API-Key: hub_live_<secret>
Accept: application/json

Success:

HTTP/1.1 200 OK
Content-Type: application/json
{
  "id": "5fbf6e42-8463-4b4a-a884-70ae94d66577",
  "issuance_id": "5fbf6e42-8463-4b4a-a884-70ae94d66577",
  "status": "partially_issued",
  "created_at": "2026-08-24T10:00:00+00:00",
  "expires_at": "2026-08-24T10:10:00+00:00",
  "credentials": [
    {
      "item_id": 42,
      "credential_configuration_id": "pid_sd_jwt",
      "issuance_mode": "immediate",
      "deferred_status": null,
      "status": "issued",
      "issued_at": "2026-08-24T10:02:45+00:00",
      "notification": {
        "event": "credential_accepted",
        "event_description": null,
        "received_at": "2026-08-24T10:03:02+00:00"
      }
    },
    {
      "item_id": 43,
      "credential_configuration_id": "employee_sd_jwt",
      "issuance_mode": "deferred",
      "deferred_status": "ready",
      "status": "pending",
      "issued_at": null,
      "notification": null
    }
  ]
}

The response never contains the original datasets, issued attestations, one-time secrets or Wallet protocol artefacts. deferred_status exposes only the internal lifecycle (pending, ready, failed, delivered or expired). notification exposes only the latest Wallet event after it has been received.

The client can poll until it receives a terminal status. The included test application polls every 1.5 seconds through its own backend so the API Key is never exposed to browser JavaScript. A production client should use a bounded interval and stop after a terminal status or its own timeout.

For a verify-before-issue issuance, polling also returns the verification and application-decision lifecycle. After successful PID verification in the PoR example:

{
  "issuance_id": "5fbf6e42-8463-4b4a-a884-70ae94d66577",
  "status": "pending",
  "credentials": [
    {
      "item_id": 42,
      "credential_configuration_id": "proof_of_residence_sd_jwt",
      "issuance_mode": "immediate",
      "deferred_status": null,
      "status": "pending",
      "issued_at": null,
      "notification": null
    }
  ],
  "authorization": {
    "mode": "openid4vp",
    "status": "awaiting_application",
    "verifier": "core-verifier",
    "presentation_configuration_id": "pid-sd-jwt",
    "presentation": {
      "presentation_id": "66ed765b-96fc-4143-b3a1-69db57063fa6",
      "status": "completed",
      "credentials": {
        "pid": [
          {
            "format": "dc+sd-jwt",
            "vct": "urn:eu.europa.ec.eudi:pid:1",
            "issuer": "https://issuer.example.com",
            "claims": {
              "family_name": "DOE",
              "given_name": "JOHN",
              "birthdate": "1990-01-01"
            },
            "verification": {
              "issuer_signature": "valid",
              "disclosures": "valid",
              "holder_binding": "valid"
            }
          }
        ]
      },
      "verification": {
        "status": "valid",
        "dcql": "valid",
        "holder_binding": "valid",
        "credential_count": 1
      }
    }
  }
}

As with standalone presentation polling, this projection contains personal data and only normalized verified information. It never contains raw Wallet data, proofs or ephemeral keys. It also does not expose the initial or final issuance datasets.

List wallet-initiated issuance sessions

GET /api/v1/issuances/{issuer_slug}/wallet-sessions
X-API-Key: hub_live_<secret>
Accept: application/json

Lists independent Wallet issuances created using the permanent OpenID4VP configuration using openid4vp. This operation requires the owning managed API Client. Individual session expiry does not expire the configuration.

Parameter Location Required Description
issuer_slug path yes Issuer slug returned in the configuration response.
after query no Opaque next_cursor returned by the previous page. Omit for the first page.

Success: 200 OK with the following structure:

{
  "issuances": [],
  "next_cursor": null
}

issuances contains at most 50 documents using the Get an issuance representation. Each document has its own issuance_id and item identifiers, and includes normalized presentation results only after successful verification. The array is initially empty until a Wallet starts. It never exposes issuance datasets, raw credentials or proofs.

When next_cursor is non-null, fetch the next page with ?after=<next_cursor>. To discover new Wallet sessions on the next polling cycle, restart at the first page; a cursor is for pagination, not an incremental event stream.

HTTP Error Meaning
401 missing_api_key / invalid_api_key Authentication failed.
403 forbidden Caller is not the owning managed API Client.
404 issuer_not_found Unknown Issuer slug.
409 invalid_authorization_mode Issuer is not configured as Wallet-initiated.

Each session receives its own lifetime when the Wallet starts. Expiry of one session does not prevent another Wallet from starting. Authorization decisions, datasets and Wallet state values remain independent between sessions.

Issuance status and decisions

Issuance statuses:

Status Meaning
pending Waiting for the Wallet interaction to start.
in_progress The Wallet interaction has started.
partially_issued Some, but not all, attestations have been delivered.
completed All attestations have been delivered.
expired The operation expired before completion.
failed The operation failed.

Credential item statuses are:

pending
issued
failed

The implemented successful flow actively produces pending, in_progress, partially_issued and completed. There is no background expiry worker; instead, the polling endpoint compares the current time with expires_at and persists expired before returning the response. Protocol endpoints also reject expired sessions and temporary artifacts.

Verification-backed authorization statuses nested under authorization.status are:

Status Meaning
pending_authorization Waiting for the user to start the verification step.
presentation_pending Waiting for the Wallet verification to complete.
awaiting_application The Application must supply or reject issuance data; openid4vp additionally requires successful verification.
ready_for_authorization Final issuance data is frozen and the Wallet Hub can continue delivery.
ready_for_consent Legacy transitional value migrated toready_for_authorization; accepted during rolling-deployment compatibility.
authorized The Wallet Hub has completed the authorization step required to deliver the attestation.
rejected The application refused issuance or the linked verification failed.
failed The linked verification or authorization interaction failed.
Finalize after verification

This operation supports openid4vp and reuses issuance ownership checks. Use each individual session's issuance_id and its item_id values returned by listing or polling. A successfully verified presentation is required. The permanent Issuer configuration is not an issuance and cannot be finalized. Additional test behavior is documented in Part 7.

POST /api/v1/issuances/{issuance_id}/authorization/finalize
X-API-Key: hub_live_<secret>
Content-Type: application/json

To continue the PoR example, the application evaluates the verified PID and provides the business data for every issuance item:

{
  "outcome": "ready",
  "credentials": [
    {
      "item_id": 42,
      "claims": {
        "resident_address": "10 rue de la Paix, 75002 Paris, France",
        "street_name": "rue de la Paix",
        "building_number": "10",
        "postal_code": "75002",
        "locality": "Paris",
        "region": "Ile-de-France",
        "country": "FR"
      }
    }
  ]
}

item_id values come from issuance polling. The request must contain each item exactly once. Each claims object is checked against the selected Credential Configuration: unknown claims, missing mandatory claims and incompatible JSON types are rejected. A successful call returns 200 OK with the updated issuance document and authorization.status=ready_for_authorization. The next resume request consumes the opaque interaction, creates the Authorization Code and redirects to the interaction-bound Wallet callback without displaying the Wallet Hub consent screen.

The same finalization repeated with semantically identical JSON datasets is idempotent. Different data after the first successful finalization is rejected with 409 dataset_already_finalized; the application cannot alter claims after the dataset has been frozen for authorization.

To reject issuance (after evaluating the presentation when using openid4vp):

{"outcome": "rejected"}

This returns the updated issuance document with authorization.status=rejected. When the Wallet resumes the authorization interaction, the Wallet Hub returns the standard OAuth access_denied response.

Deferred decision

When an issuance item has effective issuance_mode: deferred, its owning application can transition the deferred transaction after the Wallet has made the initial Credential Request:

POST /api/v1/issuances/{issuance_id}/credentials/{item_id}/decision
X-API-Key: hub_live_<secret>
Content-Type: application/json

Ready for delivery:

{"decision": "ready"}

Terminal failure:

{
  "decision": "failed",
  "description": "Manual review rejected"
}

Success returns 204 No Content. The operation reuses the existing API Client ownership check. It returns 409 invalid_deferred_state if no pending deferred transaction exists or the item is already terminal. The endpoint never accepts or returns a Wallet proof, Access Token, credential, transaction_id or notification_id.

The ETSI (EUDI Wallet) issuance subset also supports PID mso_mdoc with docType eu.europa.ec.eudi.pid.1, using the configured credential snapshot and a CB-AdES-B-B signature structure. No additional Application API parameter is needed. The Issuer must pass readiness, including its PID signing certificate under pid_provider_authority and its dedicated Document Signer certificate under document_issuer. Device-bound issuance still requires a validated Key Attestation. Other EUDI mdoc types remain unsupported; PID Pre-Authorized Code retains the physical-presence restriction described below. This support does not establish complete ETSI conformance or real-Wallet interoperability.

Issuance errors

Error responses generated by the Application API use JSON. Depending on the validation branch, the current implementation returns either only error, or error with error_description and/or details.

Representative errors:

HTTP Response / error Cause
400 A JSON object is required Body is absent or is not a JSON object.
400 issuer and credentials are required Missing Issuer orcredentials is not an array.
400 credentials must be a non-empty array Empty array.
400 Each credential requires credential_configuration_id and claims Malformed credential item for an issuance requiring initial claims.
400 claims must be omitted when authorization.mode is openid4vp The application attempted to provide issuance data before presentation verification.
400 credential_configuration_id must be unique within an issuance Duplicate configuration ID in an Authorization Code request. Repetition is supported only for Pre-Authorized Code.
400 unsupported_credential_format A selected configuration has a format outside the supporteddc+sd-jwt and mso_mdoc set.
400 invalid_request authorization is missing or malformed for Authorization Code, is used with Pre-Authorized Code, or its mode is unsupported. For supported test settings, see Part 7. error_description identifies the validation failure.
400 invalid_credential_dataset Verify-before-issue finalization contains unknown claims, omits mandatory claims or supplies an incompatible JSON type.
400 invalid_tx_code Invalid Transaction Code object; explanation is inerror_description.
400 invalid_expires_in Timeout is not an integer between 60 and 3600 seconds.
400 issuer_not_ready The selected EUDI Issuer fails the shared effective-policy readiness check.details contains stable machine-readable readiness codes. No PostgreSQL issuance session or Redis offer state is created.
400 issuer_not_ready / EUDI_PID_PRE_AUTHORIZED_CODE_PHYSICAL_PRESENCE_UNSUPPORTED PID Pre-Authorized Code was requested, but the Wallet Hub has no trustworthy physical-presence evidence model. Use Authorization Code for the supported Phase 1 subset.
400 decision must be ready or failed Invalid deferred decision.
401 missing_api_key NoX-API-Key while authentication is required.
401 invalid_api_key Unknown, disabled, revoked or expired key/client.
403 forbidden The API Client is not authorized for the requested Issuer or Verifier, or does not own the issuance.error_description identifies the protected resource when applicable.
404 issuer_not_found No Credential Issuer exists with the requested slug.error_description repeats the exact slug received by the API.
409 wallet_issuance_already_pending An active Wallet initiation already covers a requested scope on the AS; only the owner receives the existing issuance_id in details.
409 issuer_disabled The Credential Issuer exists but is disabled.
404 credential_configuration_not_found A requested Credential Configuration does not exist on the selected Issuer.details identifies every missing ID.
409 credential_configuration_disabled A requested Credential Configuration exists on the selected Issuer but is disabled.details identifies every disabled ID.
409 authorization_server_unavailable No enabled integrated Authorization Server compatible with the Issuer profile can execute the requested grant.
409 unsupported_authorization_profile The selected Issuer/Verifier profile pair is not enabled for verify-before-issue. The implementation accepts CORE + CORE and HAIP + HAIP.
409 invalid_authorization_state / presentation_not_completed Finalization was attempted before successful verification or after the decision had already changed state.
409 dataset_already_finalized A repeated finalization tried to replace already frozen issuance data.
404 Issuance session not found Unknown polling identifier.
404 Issuance item not found The item is not part of the issuance.
409 Issuance item is not deferred A decision was attempted for an immediate item.
409 invalid_deferred_state No pending deferred transaction can accept the decision.

Examples:

{
  "error": "forbidden",
  "error_description": "This API client cannot access this issuance."
}

Presentations

Create a presentation

POST /api/v1/presentations
X-API-Key: hub_live_<secret>
Content-Type: application/json
Accept: application/json

A presentation asks a Wallet to provide information defined by a configured Presentation Configuration. The application selects the Verifier and Presentation Configuration; the Wallet Hub handles the Wallet request and cryptographic verification.

PID verification request example
{
  "verifier": "eudi-verifier",
  "presentation_configuration_id": "eudi-pid-mdoc",
  "expires_in": 300
}
Field Type Required Description
verifier string yes Enabled Verifier slug configured in the Wallet Hub.
presentation_configuration_id string yes Enabled configuration ID belonging to the selected Verifier.
expires_in integer no Session lifetime in seconds; defaults to 300. Allowed range: 60 through 900.
redirect_uri string no Application return URL for CORE, HAIP and EUDI Wallet. HTTPS, or HTTP loopback; maximum 2048 characters, no credentials, fragment or existing response_code parameter.

The PID journey uses eudi-verifier and eudi-pid-mdoc when these identifiers are configured for the API Client. The latter is a configured identifier, not an instruction for the application to choose a credential format. Other verification journeys use the same selection parameters with their own configured Verifier and Presentation Configuration identifiers.

The application does not supply request rules, cryptographic settings or Wallet-routing parameters. Those values come from the selected Verifier and Presentation Configuration. QES approval response binding is not yet validated.

Optional application return and same-browser confirmation

redirect_uri requires a managed Application API key associated with an ApiClient; legacy master-key or unauthenticated access cannot enable this mode. It is optional. Omit it for the existing polling journey, including cross-device QR usage. Supplying it enables a result gate for CORE, HAIP and EUDI Wallet, with both direct_post and direct_post.jwt. This URL belongs to the individual transaction; it is not an ApiClient administration setting and is never added to the Wallet Authorization Request. The Wallet still posts to the Hub's response_uri.

Omitting the application redirect_uri does not mean the Wallet will never open a browser page. For standalone HAIP and EUDI Wallet presentations, the Hub still returns its own terminal-page URL after processing a valid Wallet response:

{
  "redirect_uri": "https://hub.example/verifier/haip-verifier-2/resume/<handle>?response_code=<fresh-code>"
}

This is the Hub's return URL, not an application callback. The page displays Success after successful verification, or Verification unsuccessful after a processed Wallet error such as cancellation. It tells the user to return to the originating application, or to the other device after a QR scan. It contains no Verifier name, administration navigation or credential claims. The URL is single-use and expires with the presentation; reusing it returns a protocol error. The HTML response uses Cache-Control: no-store and Referrer-Policy: no-referrer. Malformed protocol responses or rejected credentials remain protocol errors; they are not converted into a redirect to this page.

Opening this Hub page is not required to release the Application API result. Without an application redirect_uri, the application's backend can retrieve verified results by polling as soon as the presentation is completed, even if the user never opens the terminal page. No /confirm call is needed. Standalone CORE presentations do not have this default Hub redirect. Presentations linked to an issuance retain their issuance continuation rather than this terminal page.

For cross-device QR journeys, omit the application redirect_uri: the smartphone may show the Hub result page while the original browser obtains the result by polling. For same-device journeys, an application callback is optional; omitting it uses the same Hub-page and polling behavior for HAIP/EUDI Wallet. Supplying one requires the return in the original browser session. Being on the same device alone is insufficient if the Wallet returns in a different browser.

The sandbox checkbox Confirm Wallet return in this browser controls whether its backend supplies an application redirect_uri. Checked means application callback plus confirmation; unchecked means polling, with the default Hub page for HAIP/EUDI Wallet. It does not change the DCQL query or disable the Hub return.

Concrete same-device HAIP example (the selected identifiers must exist):

POST /api/v1/presentations
X-API-Key: hub_live_<secret>
Content-Type: application/json

{
  "verifier": "haip-verifier-2",
  "presentation_configuration_id": "proof-of-residence",
  "expires_in": 300,
  "redirect_uri": "https://application.example/wallet/callback"
}

The creation response includes presentation_id, qr_code_content, status_uri, confirmation_uri and continuation_status: "pending". The application backend stores presentation_id in the original browser's server-side session before opening the Wallet. The API key stays on the backend.

After processing the Wallet's POST, the Hub returns HTTP 200 JSON:

{
  "redirect_uri": "https://application.example/wallet/callback?response_code=<fresh-code>"
}

Existing query parameters are preserved. A valid Wallet error response can also receive this redirect. Invalid protocol/credential responses remain protocol errors and do not produce a continuation code. The 256-bit code is created after processing the response, stored only temporarily in Redis, bound to the presentation and API Client, and expires with the presentation.

Before confirmation, polling can report status: "completed" (cryptographic verification succeeded) or status: "failed", but exposes neither credentials, verification nor the Wallet error. It returns continuation_status: "pending"; after the return deadline it reports continuation_status: "expired" and keeps results withheld. The response code is never exposed by polling, session creation or the QR code.

At the callback, recover the expected presentation_id from the original browser session, not from callback query parameters. If the original browser session is missing, reject the return. Then the backend submits the received code to the returned confirmation_uri:

POST /api/v1/presentations/9bb3eb73-6029-4ca0-aad8-cf193482eb4a/confirm
X-API-Key: hub_live_<secret>
Content-Type: application/json

{"response_code": "<fresh-code-from-wallet-callback>"}

HTTP 200 returns the ordinary normalized presentation response, plus continuation_status: "confirmed". For example:

{
  "presentation_id": "9bb3eb73-6029-4ca0-aad8-cf193482eb4a",
  "status": "completed",
  "continuation_status": "confirmed",
  "verifier": "haip-verifier-2",
  "presentation_configuration_id": "proof-of-residence",
  "created_at": "2026-10-05T12:00:00Z",
  "expires_at": "2026-10-05T12:05:00Z",
  "status_uri": "https://hub.example/api/v1/presentations/9bb3eb73-6029-4ca0-aad8-cf193482eb4a",
  "confirmation_uri": "https://hub.example/api/v1/presentations/9bb3eb73-6029-4ca0-aad8-cf193482eb4a/confirm",
  "credentials": {
    "proof_of_residence": [{"format": "dc+sd-jwt", "claims": {"country": "FR"}}]
  }
}

The response can also include the ordinary verification projection. A confirmed Wallet refusal returns status: "failed" with its error instead. Missing, wrong, expired or replayed codes return HTTP 400 invalid_response_code; another API Client receives 403 and an unknown presentation receives 404. Code consumption is atomic. A code submitted for the wrong presentation cannot consume the right presentation's code.

No further polling is necessary: confirmation returns the result directly. Polling after confirmation returns the same normalized result. If the confirmation response is lost after consumption, the backend can poll the original session to recover its confirmed result; it must not retry completion by accepting an unconfirmed result. Polling may also start before or after the Wallet return to display progress, but must never authorize a business action while continuation is pending or expired.

This implements the return-code mechanism described in OIDC4VP 1.0 Final ยง8.2 and ยง14.2. The browser-session check remains the application's responsibility: the Hub cannot check an application's cookie. This protection applies only when the Wallet returns to the original browser on the same device. It does not protect cross-device transactions or a return in a different browser; there is no automatic fallback to ungated polling. Rotate the application's session ID when this flow establishes a login, and avoid logging callback query strings.

Without an application URL, existing internal HAIP/EUDI result-page redirects and issuance-linked continuations remain unchanged. No database migration is required: the application URL and confirmation marker use the session's existing JSON snapshot.

Presentation create response

Success:

HTTP/1.1 201 Created
Location: https://hub.example/api/v1/presentations/9bb3eb73-6029-4ca0-aad8-cf193482eb4a
Content-Type: application/json
{
  "presentation_id": "9bb3eb73-6029-4ca0-aad8-cf193482eb4a",
  "status": "pending",
  "verifier": "core-verifier",
  "presentation_configuration_id": "proof-of-residence",
  "created_at": "2026-08-25T10:00:00+00:00",
  "expires_at": "2026-08-25T10:05:00+00:00",
  "status_uri": "https://hub.example/api/v1/presentations/9bb3eb73-6029-4ca0-aad8-cf193482eb4a",
  "wallet_invocation_uri": "openid4vp://authorize?client_id=...&request_uri=...&request_uri_method=get",
  "qr_code_content": "openid4vp://authorize?client_id=...&request_uri=...&request_uri_method=get"
}

presentation_id is the Application API identifier to store. The HTTP Location header and status_uri both identify the polling resource.

qr_code_content is the exact value to encode in the QR code. The client must not reconstruct, decode or alter it. wallet_invocation_uri and qr_code_content are returned only by the creation call. They are not included in subsequent polling responses.

The Wallet invocation value is generated by the Hub according to the Verifier configuration and expires with the presentation session. The application must display or invoke it promptly, using the returned value unchanged.

Get a presentation

GET /api/v1/presentations/{presentation_id}
X-API-Key: hub_live_<secret>
Accept: application/json

The initial POST /api/v1/presentations only creates the session and returns the Wallet invocation URI/QR code. It does not return verified attestation data. For GET /api/v1/presentations/{presentation_id}, the result availability is:

Creation request When verified data becomes available Confirmation needed?
No redirect_uri As soon as status is completed: GET returns credentials and verification. No.
With redirect_uri After the backend confirms the Wallet's response_code: /confirm returns the result immediately, and subsequent GET calls also return it. Yes. Before confirmation, GET exposes no verified data, even if status is completed.

continuation_status and confirmation_uri are absent when no application redirect_uri was supplied. With a redirect, both are present; only continuation_status: "confirmed" permits result retrieval. No extra polling is necessary after a successful confirmation. The default HAIP/EUDI Wallet redirect to the Hub terminal page does not activate this application confirmation gate and does not add these fields.

While the Wallet has not responded:

{
  "presentation_id": "9bb3eb73-6029-4ca0-aad8-cf193482eb4a",
  "status": "pending",
  "verifier": "core-verifier",
  "presentation_configuration_id": "proof-of-residence",
  "created_at": "2026-08-25T10:00:00+00:00",
  "expires_at": "2026-08-25T10:05:00+00:00",
  "status_uri": "https://hub.example/api/v1/presentations/9bb3eb73-6029-4ca0-aad8-cf193482eb4a"
}

After successful verification (without redirect_uri, or after its return has been confirmed):

{
  "presentation_id": "9bb3eb73-6029-4ca0-aad8-cf193482eb4a",
  "status": "completed",
  "verifier": "core-verifier",
  "presentation_configuration_id": "proof-of-residence",
  "created_at": "2026-08-25T10:00:00+00:00",
  "expires_at": "2026-08-25T10:05:00+00:00",
  "status_uri": "https://hub.example/api/v1/presentations/9bb3eb73-6029-4ca0-aad8-cf193482eb4a",
  "credentials": {
    "proof_of_residence": [
      {
        "format": "dc+sd-jwt",
        "vct": "urn:eu.europa.ec:por:1",
        "issuer": "https://issuer.example.com",
        "claims": {
          "resident_address": "100 Kifisias Avenue, Athens",
          "country": "GR"
        },
        "verification": {
          "issuer_signature": "valid",
          "issuer_trust": "local_signing_key",
          "disclosures": "valid",
          "holder_binding": "valid",
          "credential_status": {
            "checked": true,
            "value": "valid"
          }
        }
      }
    ]
  },
  "verification": {
    "status": "valid",
    "dcql": "valid",
    "holder_binding": "valid",
    "credential_count": 1
  }
}

The Wallet Hub returns normalized verified claims. The Application does not need to parse the original Wallet response. Each key inside credentials identifies a configured information request, and each value is an array because a request can allow multiple attestations. Raw Wallet responses are not returned.

credential_status is present only when the credential contains a Status List reference. checked: true and value: "valid" mean that the Wallet Hub fetched the list, validated its signature and freshness, and found neither revocation nor suspension at the credential index.

For a configured signature-approval presentation, the relevant attestation's verification.transaction_data is present only after successful approval validation. It contains status: "valid", the transaction type, the checked binding (csc_qes_approval or csc_qes_approval+transaction_data_hashes) and hash_algorithm: "sha-256". Missing or invalid approval produces a terminal failed presentation. The Application uses the existing creation and polling endpoints; it does not supply a Wallet proof or receive transaction hashes, raw transaction data or a signed document through this result.

For the ETSI static-trust profile, Presentation Configurations may select an Intended Use of category pid or non-qualified eaa, in dc+sd-jwt or mso_mdoc. EAA VCT/doctype values are not restricted to a built-in catalogue; the selected Intended Use must authorize the requested types and claims. EAA SD-JWT chains require eaa_provider_authority trust; mdoc chains require document_issuer. The supported EAA structural checks require SD-JWT nbf/exp and a well-formed signed vct#integrity reference, or the supported CB-AdES building blocks for mdoc. Type Metadata contents, business schemas, qualified status and Trusted Lists are outside this validation subset. EAA QES configurations reuse the CSC SHA-256 KB-JWT transaction binding; this validates approval, not a completed qualified document signature. Creation and polling contracts are unchanged. An unauthorized request fails before session creation; an invalid credential fails validation without a successful normalized credential result.

For an mdoc result the same array entry uses format: "mso_mdoc", exposes its doctype, nests claims by ISO namespace, and reports issuer_signature, issuer_trust, digests, validity, device_authentication and holder_binding verification states.

These responses contain personal data disclosed by the End-User. API clients must restrict access to them and apply an appropriate retention policy.

If the Wallet interaction returns an error or verification fails, polling returns a terminal failed status. For example:

{
  "presentation_id": "9bb3eb73-6029-4ca0-aad8-cf193482eb4a",
  "status": "failed",
  "verifier": "core-verifier",
  "presentation_configuration_id": "proof-of-residence",
  "created_at": "2026-08-25T10:00:00+00:00",
  "expires_at": "2026-08-25T10:05:00+00:00",
  "status_uri": "https://hub.example/api/v1/presentations/9bb3eb73-6029-4ca0-aad8-cf193482eb4a",
  "error": {
    "code": "access_denied",
    "description": "User cancelled"
  }
}

Presentation status model

Status Meaning
pending Session created and waiting for the Wallet response.
response_received Wallet response received; transient verification state.
completed The requested information was successfully verified and is available in credentials.
expired The Wallet did not complete the flow beforeexpires_at.
failed The Wallet returned an error or the presentation failed validation.

completed, expired and failed are terminal. There is no background expiry worker. Polling compares the current time with expires_at and persists expired for an unfinished session.

Presentation errors

Representative Application API errors:

HTTP Response / error Cause
400 A JSON object is required Body is absent or is not a JSON object.
400 verifier is required verifier is absent, empty or not a string.
400 presentation_configuration_id is required Configuration ID is absent, empty or not a string.
400 invalid_expires_in Timeout is not an integer between 60 and 900 seconds.
400 invalid_verifier_configuration The selected Verifier is not ready to process the configured verification request. No presentation session is created.
400 unsupported_presentation_format The selected verification request uses a credential format the Wallet Hub does not support.
400 unsupported_presentation_constraint The selected query uses a runtime constraint that is not implemented.
401 missing_api_key NoX-API-Key while authentication is required.
401 invalid_api_key Unknown, disabled, revoked or expired key/client.
403 forbidden The API Client is not authorized for the Verifier or does not own the presentation.
404 Unknown or disabled verifier Verifier is absent or disabled.
404 Unknown or disabled presentation configuration Configuration is absent, disabled or belongs to another Verifier.
404 Presentation session not found Unknown polling identifier.

Wallet-facing errors are not part of the Application API error contract.

Credential lifecycle

Change attestation status

POST /api/v1/credentials/{credential_id}/status
Content-Type: application/json

Request:

{"status":"invalid"}

status is required. Supported values are valid, invalid, and suspended only for an attestation using a two-bit Status List. The opaque credential_id is returned by issuance polling when lifecycle management is enabled; the Application never sends a Status List URI or index.

Response (200 OK):

{
  "credential_id": "cs_opaque_credential_id",
  "status": "invalid",
  "updated_at": "2026-09-24T15:30:00Z"
}

The current implementation allows changing invalid back to valid; it does not enforce irreversible revocation. Enforce that business rule in the Application when required.

The API Client must own the original issuance; the transitional master-key bypass retains the compatibility semantics in Authentication and ownership. Errors use the Application API error shape: 400 for an absent or unsupported status, 403 when a managed API Client does not own the attestation, 404 for an unknown credential_id, and 409 when the list is unavailable or does not permit suspension. See Suspend, restore or revoke an attestation for the business workflow.

Issuance timing

Session expiration

expires_in lets the application select the issuance lifetime in seconds:

{
  "issuer": "core-pid",
  "expires_in": 60,
  "credentials": [
    {
      "credential_configuration_id": "pid_sd_jwt",
      "claims": {
        "family_name": "DOE"
      }
    }
  ]
}

The value must be a JSON integer between 60 and 3600 seconds. Boolean, string and decimal values are rejected. When omitted, the default is 600 seconds (10 minutes).

expires_at is calculated as created_at + expires_in. Returned Wallet invocation content may expire before the session (normally after at most 300 seconds). Applications should display it promptly; the session lifetime does not guarantee that an old QR remains usable for that entire period.

Polling after expires_at lazily reconciles a non-terminal session to expired. A completed or failed session is not changed to expired.

6. Complete examples

If needed request an X-API-Key to contact@talao.io

The examples below illustrate the API calls made by an application server. Set HUB_URL to the API origin supplied by the Wallet Hub operator and replace every Issuer, Verifier and configuration identifier with one associated with your API Client.

The Python versions run as standalone files with Python 3.12 and its standard library. Each code block is a separate program.

The JavaScript versions run as .mjs files with Node.js 22 and its built-in fetch. Run them on the application server, with HUB_API_KEY set there; browser JavaScript must not receive this key.

Example Issuer or Verifier Attestation or presentation configuration Application result
Issue a PID to a known user Issuer core-pid-issuer eu.europa.ec.eudi.pid_jwt_vc Display qr_code_content; poll the issuance status
CORE PID verification (sandbox #2) Verifier core-verifier Presentation Configuration pid-sd-jwt Read credentials.pid[0].claims after completed
Verify a PID before issuing an attestation Enabled Issuer and Verifier PID Presentation Configuration and attestation configuration Evaluate the PID, then finalize or reject issuance
Revoke an already-issued attestation (Python) Original issuance owner Status-enabled issued attestation Set the saved credential_id to invalid

The Wallet Hub operator must associate the enabled Issuer and Verifier with the API Client. Credential Configurations belong to that Issuer; Presentation Configurations belong to that Verifier and must also be enabled. The examples contain no API Key; give each integrator a managed key privately and keep it on the application server.

Issue a PID to a known user (Python)

This server-side example matches sandbox Issuer CORE test #4 (PID SD-JWT). It issues one fictitious PID through core-pid-issuer, using eu.europa.ec.eudi.pid_jwt_vc and the Pre-Authorized Code grant and issuer_initiated mode. The API Client must be associated with that Issuer. It hands the exact QR content to the application's display layer and polls until the Wallet has received the credential. Replace the example Issuer, Credential Configuration, claims and Transaction Code with values accepted by your Wallet Hub. Set HUB_URL, HUB_API_KEY and HUB_TX_CODE in the application-server environment. For the exact sandbox CORE #4 scenario, use HUB_TX_CODE=123456 and the fictitious Jane Doe dataset below. Never embed the API key in the QR code or send it to a Wallet.

import json
import os
import time
from datetime import datetime, timezone
from urllib.error import HTTPError
from urllib.request import Request, urlopen

hub_url = os.environ["HUB_URL"].rstrip("/")
api_key = os.environ["HUB_API_KEY"]
tx_code = os.environ["HUB_TX_CODE"]  # Deliver separately from the QR code.


def api_json(method, path, payload=None):
    body = None if payload is None else json.dumps(payload).encode("utf-8")
    request = Request(
        f"{hub_url}{path}",
        data=body,
        method=method,
        headers={
            "X-API-Key": api_key,
            "Accept": "application/json",
            **({"Content-Type": "application/json"} if body else {}),
        },
    )
    try:
        with urlopen(request, timeout=15) as response:
            return json.load(response)
    except HTTPError as error:
        raise RuntimeError(
            f"Wallet Hub returned HTTP {error.code}: {error.read().decode('utf-8')}"
        ) from error


created = api_json(
    "POST",
    "/api/v1/issuances",
    {
        "issuer": "core-pid-issuer",
        "grant_type": "urn:ietf:params:oauth:grant-type:pre-authorized_code",
        "initiation_mode": "issuer_initiated",
        "expires_in": 300,
        "tx_code": {
            "value": tx_code,
            "input_mode": "numeric",
            "description": "Enter the code displayed by the issuer test application",
        },
        "credentials": [
            {
                "credential_configuration_id": "eu.europa.ec.eudi.pid_jwt_vc",
                "claims": {
                    "family_name": "Doe",
                    "given_name": "Jane",
                    "birthdate": "1990-01-01",
                    "place_of_birth": {
                        "country": "FR",
                        "region": "Ile-de-France",
                        "locality": "Paris"
                    },
                    "nationalities": [
                        "FR"
                    ],
                    "date_of_expiry": "2035-01-01",
                    "issuing_authority": "France Identite Playground",
                    "issuing_country": "FR",
                    "sex": 2,
                    "email": "jane.doe@example.com",
                    "phone_number": "+33102030405",
                    "address": {
                        "formatted": "10 rue de la Paix, 75002 Paris, France",
                        "country": "FR",
                        "region": "Ile-de-France",
                        "locality": "Paris",
                        "postal_code": "75002",
                        "street_address": "rue de la Paix",
                        "house_number": "10"
                    },
                    "document_number": "PID-TEST-0001",
                    "issuing_jurisdiction": "FR",
                    "date_of_issuance": "2026-08-24"
                }
            }
        ],
    },
)

issuance_id = created["issuance_id"]
qr_content = created["qr_code_content"]
# Give qr_content unchanged to a QR renderer in the application UI.
# This example prints it only for interactive testing.
print("Issuance:", issuance_id)
print("QR content:", qr_content)

expires_at = datetime.fromisoformat(created["expires_at"])
while datetime.now(timezone.utc) < expires_at:
    status = api_json("GET", f"/api/v1/issuances/{issuance_id}")
    if status["status"] in {"completed", "expired", "failed"}:
        print("Issuance status:", status["status"])
        break
    time.sleep(2)
else:
    print("The application stopped polling at the session expiry time.")

The application's HTTP response to its browser should contain only the QR content and an application-owned session reference. The API Key and PID datasets stay server-side. The Wallet Hub handles delivery after the QR is displayed; this code only creates and polls the issuance. Communicate the Transaction Code to the user separately from the QR code. The issuance reaches completed after the PID is delivered.

Issue a PID to a known user (JavaScript / Node.js)

This server-side JavaScript example performs the same single-PID issuance as sandbox Issuer CORE test #4 with core-pid-issuer and eu.europa.ec.eudi.pid_jwt_vc. Replace the example Issuer, Credential Configuration, claims and Transaction Code with values accepted by your Wallet Hub. Pass qrCodeContent unchanged to the application's QR renderer and deliver txCode separately.

const hubUrl = process.env.HUB_URL?.replace(/\/+$/, "");
const apiKey = process.env.HUB_API_KEY;
const txCode = process.env.HUB_TX_CODE; // Share separately from the QR.
if (!hubUrl || !apiKey || !txCode) throw new Error("Set HUB_URL, HUB_API_KEY and HUB_TX_CODE on the application server");

async function apiJson(method, url, payload) {
  const response = await fetch(url, {
    method,
    headers: {
      "X-API-Key": apiKey,
      Accept: "application/json",
      ...(payload === undefined ? {} : { "Content-Type": "application/json" }),
    },
    body: payload === undefined ? undefined : JSON.stringify(payload),
    signal: AbortSignal.timeout(15_000),
  });
  if (!response.ok) {
    throw new Error(`Wallet Hub returned HTTP ${response.status}: ${await response.text()}`);
  }
  return response.json();
}

const created = await apiJson("POST", `${hubUrl}/api/v1/issuances`, {
  issuer: "core-pid-issuer",
  grant_type: "urn:ietf:params:oauth:grant-type:pre-authorized_code",
  initiation_mode: "issuer_initiated",
  expires_in: 300,
  tx_code: {
    value: txCode,
    input_mode: "numeric",
    description: "Enter the code displayed by the issuer test application",
  },
  credentials: [
    {
      "credential_configuration_id": "eu.europa.ec.eudi.pid_jwt_vc",
      "claims": {
        "family_name": "Doe",
        "given_name": "Jane",
        "birthdate": "1990-01-01",
        "place_of_birth": {
          "country": "FR",
          "region": "Ile-de-France",
          "locality": "Paris"
        },
        "nationalities": [
          "FR"
        ],
        "date_of_expiry": "2035-01-01",
        "issuing_authority": "France Identite Playground",
        "issuing_country": "FR",
        "sex": 2,
        "email": "jane.doe@example.com",
        "phone_number": "+33102030405",
        "address": {
          "formatted": "10 rue de la Paix, 75002 Paris, France",
          "country": "FR",
          "region": "Ile-de-France",
          "locality": "Paris",
          "postal_code": "75002",
          "street_address": "rue de la Paix",
          "house_number": "10"
        },
        "document_number": "PID-TEST-0001",
        "issuing_jurisdiction": "FR",
        "date_of_issuance": "2026-08-24"
      }
    }
  ],
});

const issuanceId = created.issuance_id;
const qrCodeContent = created.qr_code_content;
console.log("Issuance:", issuanceId);
console.log("QR content:", qrCodeContent); // For interactive testing only.

const expiresAt = Date.parse(created.expires_at);
let finished = false;
while (Date.now() < expiresAt) {
  const status = await apiJson("GET", `${hubUrl}/api/v1/issuances/${issuanceId}`);
  if (["completed", "expired", "failed"].includes(status.status)) {
    console.log("Issuance status:", status.status);
    finished = true;
    break;
  }
  await new Promise((resolve) => setTimeout(resolve, 2_000));
}
if (!finished) console.log("The application stopped polling at session expiry.");

Verify a PID before issuing an attestation (Python)

This standalone example creates an offered issuance, waits for the verified PID, supplies the approved attestation data and follows delivery to completion. The Issuer must allow issuer_initiated and Authorization Code; the API Client must be associated with both the Issuer and the Verifier.

Set HUB_URL, HUB_API_KEY, HUB_ISSUER, HUB_ATTESTATION_CONFIGURATION_ID and HUB_ATTESTATION_CLAIMS (a JSON object containing all required business claims for the selected attestation). Optional HUB_PID_VERIFIER, HUB_PID_CONFIGURATION_ID and HUB_PID_QUERY_ID select the presentation and the DCQL credential query ID, which is distinct from the Presentation Configuration ID. Defaults are eudi-verifier, eudi-pid-mdoc and pid. The example reads the standard PID mdoc namespace; adapt it for another credential namespace.

The approve = True line is a demonstration placeholder: implement the application's identity matching and eligibility checks before production use. Issuance data stays in the application until successful presentation verification.

import json
import os
import time
from datetime import datetime, timezone
from urllib.error import HTTPError
from urllib.request import Request, urlopen

hub_url = os.environ["HUB_URL"].rstrip("/")
api_key = os.environ["HUB_API_KEY"]


def api_json(method, path, payload=None):
    body = None if payload is None else json.dumps(payload).encode("utf-8")
    request = Request(
        f"{hub_url}{path}",
        data=body,
        method=method,
        headers={
            "X-API-Key": api_key,
            "Accept": "application/json",
            **({"Content-Type": "application/json"} if body else {}),
        },
    )
    try:
        with urlopen(request, timeout=15) as response:
            return json.load(response)
    except HTTPError as error:
        raise RuntimeError(
            f"Wallet Hub returned HTTP {error.code}: {error.read().decode('utf-8')}"
        ) from error


issuer = os.environ["HUB_ISSUER"]
attestation_configuration_id = os.environ["HUB_ATTESTATION_CONFIGURATION_ID"]
attestation_claims = json.loads(os.environ["HUB_ATTESTATION_CLAIMS"])
if not isinstance(attestation_claims, dict) or not attestation_claims:
    raise ValueError("HUB_ATTESTATION_CLAIMS must be a non-empty JSON object")
pid_verifier = os.environ.get("HUB_PID_VERIFIER", "eudi-verifier")
pid_configuration_id = os.environ.get("HUB_PID_CONFIGURATION_ID", "eudi-pid-mdoc")
pid_query_id = os.environ.get("HUB_PID_QUERY_ID", "pid")

created = api_json("POST", "/api/v1/issuances", {
    "issuer": issuer,
    "initiation_mode": "issuer_initiated",
    "grant_type": "authorization_code",
    "expires_in": 600,
    "authorization": {
        "mode": "openid4vp",
        "verifier": pid_verifier,
        "presentation_configuration_id": pid_configuration_id,
    },
    "credentials": [{"credential_configuration_id": attestation_configuration_id}],
})
issuance_id = created["issuance_id"]
print("Display this QR content:", created["qr_code_content"])
expires_at = datetime.fromisoformat(created["expires_at"])
decision_sent = False

while datetime.now(timezone.utc) < expires_at:
    status = api_json("GET", f"/api/v1/issuances/{issuance_id}")
    if status["status"] == "completed":
        print("Issuance completed")
        break
    if status["status"] in {"expired", "failed"}:
        raise RuntimeError(f"Issuance ended with {status['status']}")
    authorization = status.get("authorization", {})
    if not decision_sent and authorization.get("status") == "awaiting_application":
        pid = authorization["presentation"]["credentials"][pid_query_id][0]
        pid_claims = (pid["claims"]["eu.europa.ec.eudi.pid.1"]
                      if pid["format"] == "mso_mdoc" else pid["claims"])
        # Replace this demonstration decision with identity and eligibility
        # checks against the application's authenticated user and business rules.
        # Never log pid_claims or return them to browser code.
        approve = True
        finalization = ({
            "outcome": "ready",
            "credentials": [{"item_id": status["credentials"][0]["item_id"],
                             "claims": attestation_claims}],
        } if approve else {"outcome": "rejected"})
        api_json("POST", f"/api/v1/issuances/{issuance_id}/authorization/finalize",
                 finalization)
        decision_sent = True
        if not approve:
            print("Issuance rejected by the application")
            break
    time.sleep(2)
else:
    raise TimeoutError("The application stopped polling at session expiry")

Verify a PID before issuing an attestation (JavaScript / Node.js)

This standalone example performs the same workflow, with the same environment variables and business-decision placeholder as the Python version above.

const hubUrl = process.env.HUB_URL?.replace(/\/+$/, "");
const apiKey = process.env.HUB_API_KEY;
if (!hubUrl || !apiKey) throw new Error("Set HUB_URL and HUB_API_KEY on the application server");

async function apiJson(method, url, payload) {
  const response = await fetch(url, {
    method,
    headers: {
      "X-API-Key": apiKey,
      Accept: "application/json",
      ...(payload === undefined ? {} : { "Content-Type": "application/json" }),
    },
    body: payload === undefined ? undefined : JSON.stringify(payload),
    signal: AbortSignal.timeout(15_000),
  });
  if (!response.ok) {
    throw new Error(`Wallet Hub returned HTTP ${response.status}: ${await response.text()}`);
  }
  return response.json();
}

const issuer = process.env.HUB_ISSUER;
const attestationConfigurationId = process.env.HUB_ATTESTATION_CONFIGURATION_ID;
if (!issuer || !attestationConfigurationId || !process.env.HUB_ATTESTATION_CLAIMS) {
  throw new Error("Set HUB_ISSUER, HUB_ATTESTATION_CONFIGURATION_ID and HUB_ATTESTATION_CLAIMS");
}
const attestationClaims = JSON.parse(process.env.HUB_ATTESTATION_CLAIMS);
if (!attestationClaims || Array.isArray(attestationClaims) ||
    typeof attestationClaims !== "object" || !Object.keys(attestationClaims).length) {
  throw new Error("HUB_ATTESTATION_CLAIMS must be a non-empty JSON object");
}
const pidVerifier = process.env.HUB_PID_VERIFIER || "eudi-verifier";
const pidConfigurationId = process.env.HUB_PID_CONFIGURATION_ID || "eudi-pid-mdoc";
const pidQueryId = process.env.HUB_PID_QUERY_ID || "pid";

const created = await apiJson("POST", `${hubUrl}/api/v1/issuances`, {
  issuer,
  initiation_mode: "issuer_initiated",
  grant_type: "authorization_code",
  expires_in: 600,
  authorization: {
    mode: "openid4vp",
    verifier: pidVerifier,
    presentation_configuration_id: pidConfigurationId,
  },
  credentials: [{ credential_configuration_id: attestationConfigurationId }],
});
const issuanceId = created.issuance_id;
console.log("Display this QR content:", created.qr_code_content);
const expiresAt = Date.parse(created.expires_at);
let decisionSent = false;
let finished = false;

while (Date.now() < expiresAt) {
  const status = await apiJson("GET", `${hubUrl}/api/v1/issuances/${issuanceId}`);
  if (status.status === "completed") {
    console.log("Issuance completed");
    finished = true;
    break;
  }
  if (["expired", "failed"].includes(status.status)) {
    throw new Error(`Issuance ended with ${status.status}`);
  }
  if (!decisionSent && status.authorization?.status === "awaiting_application") {
    const pid = status.authorization.presentation.credentials[pidQueryId][0];
    const pidClaims = pid.format === "mso_mdoc"
      ? pid.claims["eu.europa.ec.eudi.pid.1"] : pid.claims;
    // Replace this demonstration decision with identity and eligibility
    // checks against the application's authenticated user and business rules.
    // Never log pidClaims or return them to browser code.
    const approve = true;
    const finalization = approve ? {
      outcome: "ready",
      credentials: [{ item_id: status.credentials[0].item_id, claims: attestationClaims }],
    } : { outcome: "rejected" };
    await apiJson("POST", `${hubUrl}/api/v1/issuances/${issuanceId}/authorization/finalize`, finalization);
    decisionSent = true;
    if (!approve) {
      console.log("Issuance rejected by the application");
      finished = true;
      break;
    }
  }
  await new Promise((resolve) => setTimeout(resolve, 2_000));
}
if (!finished) throw new Error("The application stopped polling at session expiry");

PID verification (Python)

This example matches sandbox Verifier CORE test #2 (European PID SD-JWT): Verifier core-verifier, Presentation Configuration pid-sd-jwt, and DCQL credential query ID pid. The API Client must be associated with that Verifier. The normalized SD-JWT claims are directly under credentials.pid[0].claims; there is no mdoc namespace wrapper. The application does not supply or alter the Wallet request rules. Set HUB_URL and HUB_API_KEY to the values supplied by the Wallet Hub operator. The separate EUDI mdoc workflow remains documented in Quick Start; its identifiers and result namespace differ.

import json
import os
import time
from datetime import datetime, timezone
from urllib.error import HTTPError
from urllib.request import Request, urlopen

hub_url = os.environ["HUB_URL"].rstrip("/")
api_key = os.environ["HUB_API_KEY"]


def api_json(method, url, payload=None):
    body = None if payload is None else json.dumps(payload).encode("utf-8")
    request = Request(
        url,
        data=body,
        method=method,
        headers={
            "X-API-Key": api_key,
            "Accept": "application/json",
            **({"Content-Type": "application/json"} if body else {}),
        },
    )
    try:
        with urlopen(request, timeout=15) as response:
            return json.load(response)
    except HTTPError as error:
        raise RuntimeError(
            f"Wallet Hub returned HTTP {error.code}: {error.read().decode('utf-8')}"
        ) from error


created = api_json(
    "POST",
    f"{hub_url}/api/v1/presentations",
    {
        "verifier": "core-verifier",
        "presentation_configuration_id": "pid-sd-jwt",
        "expires_in": 300,
    },
)

presentation_id = created["presentation_id"]
status_uri = created["status_uri"]
qr_content = created["qr_code_content"]
# Give qr_content unchanged to a QR renderer in the application UI.
print("Presentation:", presentation_id)
print("QR content:", qr_content)

expires_at = datetime.fromisoformat(created["expires_at"])
while datetime.now(timezone.utc) < expires_at:
    status = api_json("GET", status_uri)
    if status["status"] == "completed":
        pid_credentials = status["credentials"]["pid"]
        pid_claims = pid_credentials[0]["claims"]
        # Apply your business rules to pid_claims on the application server.
        print("PID verified; credential count:", len(pid_credentials))
        break
    if status["status"] in {"expired", "failed"}:
        print("Presentation status:", status["status"])
        break
    time.sleep(2)
else:
    print("The application stopped polling at the session expiry time.")

The status_uri is returned by the Wallet Hub. The Application presents the exact qr_code_content to the Wallet and polls that URI with its API Key. After completed, credentials.pid contains normalized, verified claims; handle them as personal data and keep them out of browser logs and shared caches. The raw PID presentation and Wallet response are not returned by this API.

PID verification (JavaScript / Node.js)

This server-side JavaScript example matches sandbox Verifier CORE test #2 with core-verifier / pid-sd-jwt. It polls the Wallet Hub's returned status_uri and leaves the verified PID claims on the application server.

const hubUrl = process.env.HUB_URL?.replace(/\/+$/, "");
const apiKey = process.env.HUB_API_KEY;
if (!hubUrl || !apiKey) throw new Error("Set HUB_URL and HUB_API_KEY on the application server");

async function apiJson(method, url, payload) {
  const response = await fetch(url, {
    method,
    headers: {
      "X-API-Key": apiKey,
      Accept: "application/json",
      ...(payload === undefined ? {} : { "Content-Type": "application/json" }),
    },
    body: payload === undefined ? undefined : JSON.stringify(payload),
    signal: AbortSignal.timeout(15_000),
  });
  if (!response.ok) {
    throw new Error(`Wallet Hub returned HTTP ${response.status}: ${await response.text()}`);
  }
  return response.json();
}

const created = await apiJson("POST", `${hubUrl}/api/v1/presentations`, {
  verifier: "core-verifier",
  presentation_configuration_id: "pid-sd-jwt",
  expires_in: 300,
});

const presentationId = created.presentation_id;
const statusUri = created.status_uri;
const qrCodeContent = created.qr_code_content;
console.log("Presentation:", presentationId);
console.log("QR content:", qrCodeContent); // Pass unchanged to the QR renderer.

const expiresAt = Date.parse(created.expires_at);
let finished = false;
while (Date.now() < expiresAt) {
  const status = await apiJson("GET", statusUri);
  if (status.status === "completed") {
    const pidCredentials = status.credentials.pid;
    const pidClaims = pidCredentials[0].claims;
    // Apply business rules to pidClaims on the application server.
    console.log("PID verified; credential count:", pidCredentials.length);
    finished = true;
    break;
  }
  if (["expired", "failed"].includes(status.status)) {
    console.log("Presentation status:", status.status);
    finished = true;
    break;
  }
  await new Promise((resolve) => setTimeout(resolve, 2_000));
}
if (!finished) console.log("The application stopped polling at session expiry.");

Revoke an already-issued attestation (Python)

This standalone example changes an existing attestation's status to invalid. It creates no new issuance. The Credential Configuration must have had Status Lists enabled when the attestation was issued; otherwise it has no status reference and this endpoint cannot revoke it retroactively.

Set HUB_URL, HUB_API_KEY and HUB_CREDENTIAL_ID on the application server. Use the opaque credential_id previously saved from issuance polling at credentials[].status_credentials[].credential_id, not the issuance_id, item_id or Credential Configuration ID. The API Client must own the original issuance. For batch issuance, select the intended copy; each copy has its own credential_id and must be revoked separately if all copies are affected.

import json
import os
from urllib.error import HTTPError
from urllib.request import Request, urlopen

hub_url = os.environ["HUB_URL"].rstrip("/")
api_key = os.environ["HUB_API_KEY"]


def api_json(method, path, payload=None):
    body = None if payload is None else json.dumps(payload).encode("utf-8")
    request = Request(
        f"{hub_url}{path}",
        data=body,
        method=method,
        headers={
            "X-API-Key": api_key,
            "Accept": "application/json",
            **({"Content-Type": "application/json"} if body else {}),
        },
    )
    try:
        with urlopen(request, timeout=15) as response:
            return json.load(response)
    except HTTPError as error:
        raise RuntimeError(
            f"Wallet Hub returned HTTP {error.code}: {error.read().decode('utf-8')}"
        ) from error


credential_id = os.environ["HUB_CREDENTIAL_ID"]
# Encode this as a single path segment; never supply a Status List URI/index.
from urllib.parse import quote

updated = api_json(
    "POST",
    f"/api/v1/credentials/{quote(credential_id, safe='')}/status",
    {"status": "invalid"},
)
if updated["credential_id"] != credential_id or updated["status"] != "invalid":
    raise RuntimeError("Unexpected credential status response")
print("Attestation revoked; status:", updated["status"])
print("Updated at:", updated["updated_at"])

The Wallet retains its copy, but a Verifier checking the updated Status List rejects it. Existing cached lists can delay observation until their next refresh. The current API also permits a later change to valid; if revocation must be irreversible, enforce that rule in the application's lifecycle policy. For response fields and errors, see Credential lifecycle.

7. Test modes and Application API limits

This section documents test-only Application API settings and limits relevant to client applications. Wallet protocol implementation is documented in README.md.

Test-only authorization modes

All test-specific workflows, request settings and compatibility rules are collected here. Parts 4โ€“6 describe the business workflows and their common API contracts.

test_consent displays a Hub test consent screen. test_direct skips the Hub screen and uses the Application decision. Both are test helpers: neither provides end-user authentication or a production user journey. They are usable with Issuer-initiated and Wallet-initiated Authorization Code issuance within the documented flow limits. Production authorization must identify the user and reliably bind the Application decision to the issuance session; a redirect-based Application user journey is not implemented by these test modes.

Legacy request names hub_consent and hub_direct remain accepted and are normalized to test_consent and test_direct. New sessions and responses use the canonical names. Existing stored sessions and workflow configurations remain readable without rewriting their history. hub_sandbox remains a deprecated compatibility mode for its earlier single-use flow; use test_direct for new automated conformance scenarios.

{
  "issuer": "core-pid",
  "grant_type": "authorization_code",
  "authorization": {
    "mode": "test_consent"
  },
  "expires_in": 600,
  "credentials": [
    {
      "credential_configuration_id": "pid_sd_jwt",
      "claims": {
        "family_name": "DOE",
        "given_name": "JOHN",
        "birthdate": "1990-01-01"
      }
    }
  ]
}

This test-only variant asks the Wallet Hub to show its consent screen. It does not authenticate the end user and it does not contain tx_code.

The supported Application API interaction setting is:

"authorization": {
  "mode": "test_consent"
}

test_consent is a test-only interaction mode. It performs user authorization/consent through a Wallet Hub-hosted screen but does not authenticate the end user. It must not be considered a production authentication mechanism.

test_consent must be explicitly requested by the Application API. The Wallet Hub never enables this mode implicitly: grant_type=authorization_code without an authorization.mode is rejected with invalid_request. The OAuth grant and the Wallet Hub interaction strategy are intentionally separate concepts so future production strategies can be added without changing the meaning of authorization_code.

This mode works with an integrated Authorization Server. End-user authentication and an external Authorization Server are not implemented by this consent mode. Its name remains an internal Application API setting.

This is an advanced, test-only Wallet flow. It does not authenticate the End-User and must not be used as a production authentication mechanism.

  1. Create an issuance with grant_type=authorization_code and authorization={"mode":"test_consent"}, including the credential claims and omitting tx_code.
  2. Display the returned qr_code_content. The Wallet continues the standard Authorization Code flow and the Wallet Hub displays its test consent screen.
  3. Poll the issuance until completion or a terminal failure.

The complete request contract is documented under Create an issuance.

Wallet-initiated direct test workflow

For automatic testing, use test_direct when a Wallet requests a service by its Issuer URL and scope, and the Application decides whether to issue without a Hub consent page or a required presentation. Configure the Wallet-initiated Issuer once through POST /api/v1/issuances with grant_type=authorization_code, authorization={"mode":"test_direct"} and the Credential Configuration IDs. Omit claims and tx_code. The configuration is permanent; expires_in defines each future session's lifetime.

Application -> Wallet Hub: configure the permanent scope-based service
Wallet Hub -> Application: Issuer URL and Wallet session listing URL
Wallet -> Wallet Hub: request authorization for the service scope
Wallet Hub -> Application: independent session awaiting Application data
Application -> Wallet Hub: approve with this session's data, or reject
Wallet Hub -> Wallet: redirect with authorization code, or access_denied
Wallet -> Wallet Hub: exchange code and retrieve the attestation

The Application polls wallet_sessions_uri, then finalizes every session with its own issuance_id and item_id values. The Hub waits for that decision server-side without displaying a page. Several Wallets can request the same scope concurrently. The Application may supply identical fictitious datasets for testing or select different datasets according to its own authorization rules. The Hub has no dataset-reuse setting and stores no claims in the permanent Issuer configuration.

The sandbox's HAIP Wallet-initiated PID test implements this Application loop. Keep its test page open so new sessions receive the fixed test data. See Wallet-initiated creation, List wallet-initiated issuance sessions and Finalize after verification.

Wallet-initiated direct test request and processing

POST /api/v1/issuances
X-API-Key: hub_live_<secret>
Content-Type: application/json
{
  "issuer": "haip-wallet-pid",
  "grant_type": "authorization_code",
  "authorization": {"mode": "test_direct"},
  "credentials": [
    {"credential_configuration_id": "eu.europa.ec.eudi.pid_jwt_vc"}
  ],
  "expires_in": 600
}

With Wallet-initiated test_direct, the same call saves a permanent configuration without issuance claims. Every Wallet requesting the configured scope receives an independent session with authorization.status=awaiting_application. The Application discovers these sessions through wallet_sessions_uri and provides each dataset using POST /api/v1/issuances/{issuance_id}/authorization/finalize. Use outcome=ready with that session's item_id and claims, or outcome=rejected. No presentation is required for this mode. The Hub waits server-side for the Application decision and then redirects with an authorization code or access_denied, without displaying a Hub page. The Application must remain available to process new sessions; in the sandbox, keep the test page open for automatic polling and finalization.

The sandbox supplies its fixed fictitious dataset independently to every Wallet session. Reusing data is an Application decision: the Hub stores no dataset in the permanent configuration and has no dataset-reuse option. Each actual session retains its own dataset and protocol bindings. Repeating configuration does not create a session and does not expire the Issuer URL.

Wallet-initiated test_consent also supports permanent configuration: omit credential claims at creation, discover individual sessions through wallet_sessions_uri, then supply their datasets through authorization/finalize. Each session starts as awaiting_application; after finalization, the Hub displays its test consent screen instead of automatically approving. Several Wallets can use the same Issuer URL independently. The sandbox uses this mode.

For compatibility, Wallet-initiated test_consent with initial credential claims and legacy hub_sandbox prepare an individual issuance. Omit tx_code for all Authorization Code modes.

Test response and dataset rules

Wallet-initiated test_direct creation returns the same permanent configuration response structure as the Wallet-initiated create response, with authorization.mode=test_direct, no issuance_id and no configuration expiry. Sessions are discovered through the returned wallet_sessions_uri. Each starts with authorization.status=awaiting_application. Unlike openid4vp, finalization requires no presentation; the Application supplies claims through the same finalization endpoint. Ownership, dataset validation, expiry and idempotency checks remain enforced.

For Issuer-initiated test_direct, supply claims in the initial creation request and receive the normal Credential Offer. Issuer-initiated test_consent also requires claims at creation. Omit tx_code for both modes.

For test_consent with initial claims, or Issuer-initiated test_direct, creation prepares an individual issuance with Application-supplied claims. Its response includes an issuance_id and expires_at; these identify and expire that issuance, not the Issuer URL. hub_sandbox is the legacy automatic authorization mode.

Application data validation and limits

The Application supplies business claims. Format, VCT or doctype, signing keys, algorithms and display settings come from the selected Issuer configuration; applications cannot override them through /api/v1.

At issuance creation, claims must be a JSON object. General validation of required claims, types and unknown claim names is not implemented. Applications must supply datasets matching the configuration. Only mapped claims are issued. Email EAA requires a non-empty email and the configured subject identifier. Finalization is stricter: it rejects unknown claims, requires mandatory mapped claims and checks their JSON types. A structured 422 invalid_claims response is not implemented.

An EUDI Email EAA configuration must reference a published Rulebook and satisfy readiness checks; unsupported configurations return 400 issuer_not_ready before session creation. Rulebook-derived properties cannot be overridden.

For presentation-backed issuance, the supported compatibility policy allows CORE Issuer + CORE Verifier and HAIP Issuer + HAIP Verifier. Other profile combinations require explicit support; selecting authorization.mode=openid4vp does not make them executable automatically. Verified presentation claims are not automatically transformed into issuance data: the Application supplies its final datasets through the documented finalization endpoint.

Presentation results and trust

Presentation Configuration supplies the requested claims and verification policy. Applications receive normalized results and cannot override the policy through POST /api/v1/presentations.

A result with verification.issuer_trust="unanchored_test_mode" comes from an operator-enabled test trust policy and must not be treated as established issuer trust. Such a credential also includes verification.warnings, an array of {code, message} objects: MDOC_UNANCHORED_TEST_MODE for mdoc or SD_JWT_UNTRUSTED_TEST_MODE for SD-JWT. These describe acceptance without established issuer trust; signature, validity and holder binding checks remain enforced. Trusted results retain labels such as x509_trust_anchor, local_signing_key, pid_provider_authority and eaa_provider_authority. A credential with an invalid or suspended status does not produce a successful presentation result.

QES approval response binding is not yet validated. The Application does not supply the generated presentation transaction data through this API.

For a verified mso_mdoc, each credentials.<query_id>[] also includes a normalized mdoc object with version, digest_algorithm, validity_info (MSO date names), issuer_signing_algorithm, device_authentication_algorithm, certificate_chain, trust_anchor_purpose, trust_mode, disclosed_elements, credential_status_checked and certificate_revocation_checked. Each received certificate is summarized by subject, issuer, serial_number (hexadecimal), fingerprint_sha256 (hexadecimal), not_before and not_after. The chain is leaf-first and does not imply the local trust anchor was transmitted. No raw certificate, proof or holder key is returned. disclosed_elements counts validated received elements per namespace; returned claims remain restricted to the DCQL selection. verification.session_transcript="valid" records successful device authentication against the session handover. No handover secrets are returned. Certificate revocation is currently not checked and its indicator is false; credential status is checked only when a supported signed MSO status reference is present. These diagnostics do not establish exhaustive ISO certificate-profile conformity.

For a verified dc+sd-jwt, each credentials.<query_id>[] additionally includes sd_jwt diagnostics: type, issuer_signing_algorithm, holder_binding_algorithm, digest_algorithm, validity_info (available iat, nbf, exp as Unix seconds), holder_binding_issued_at (Unix seconds), certificate_chain, certificate_chain_source, issuer_trust, trust_mode, trust_anchor_purpose, disclosed_elements, credential_status_checked and certificate_revocation_checked. The certificate summaries use the same fields as mdoc. They describe received parsable x5c certificates, not a reconstructed or necessarily validated path: local signer trust and DID resolution do not establish CA path validation. Without received certificates the array is empty and its source is not_present; otherwise it is received_x5c. trust_anchor_purpose is null for non-CA trust policies. disclosed_elements counts validated received disclosures, not returned claim paths. Optional credential dates are omitted when absent. Certificate revocation is not checked; credential status is checked when a supported status reference is present. No raw JWT, disclosure, certificate, nonce, audience or holder key is returned.

The Verifier administration setting Include client metadata defaults to enabled and is not an Application API request parameter. It affects newly created presentation sessions: disabling it omits client_metadata for direct_post; encrypted direct_post.jwt requests retain the public response encryption key and encryption algorithms but omit vp_formats_supported. Applications continue using the returned Wallet invocation URI unchanged.

Application lifecycle handles

credential_id is the opaque handle used by the credential status API. Applications never supply Status List coordinates. Polling exposes the normalized verified information and lifecycle projections documented above, not original issuance datasets, credentials, raw presentations, proofs, protocol tokens or private key material.