Skip to main content

Triveria Wallet API (1.1.10)

Download OpenAPI specification:Download

Triveria Wallet is a cloud-based platform for managing digital credentials.

The platform complies with open standards including the W3C Verifiable Credentials Data Model, IETF SD-JWT-VC, MSO Mdoc, OpenID Connect (OIDC), and EBSI DID, providing a unified interface across both eIDAS/EUDI and DID/W3C ecosystems.

Key capabilities:

  • Issue and manage Verifiable Credentials (W3C VC, SD-JWT-VC and MSO Mdoc formats)
  • Credential signing using DIDs, X.509 certificates, and standard JWK keys
  • Trust framework integration: EBSI Trust Framework, EUDI Large Scale Pilot trust lists, and IDUnion
  • REST API and SDK access for seamless integration

For access and support, contact info@triveria.com.

HealthCheck

Checks the health status of the service and its subsystems (database, storage, etc.). Used by load balancers and monitoring systems.

Responses

Response samples

Content type
application/json
{
  • "status": "ok",
  • "subsystems": [
    ],
  • "version": "string"
}

WalletProviderCsrGenerate

Generates a PKCS#10 certificate signing request (CSR) for the Wallet Provider key used to sign Wallet Instance Attestations. Requires the admin role. The provider key is generated on first call if it does not exist yet.

Authorizations:
accessToken

Responses

Response samples

Content type
application/json
{
  • "csr": "string"
}

WalletProviderCertificateImport

Installs the externally-issued certificate chain for the Wallet Provider key. Requires the admin role. After this succeeds the Wallet Provider can sign WIAs with an x5c header.

Authorizations:
accessToken
Request Body schema: application/json
required
certificate_chain
required
Array of strings

PEM-encoded certificate chain (leaf first) issued for the provider key.

Responses

Request samples

Content type
application/json
{
  • "certificate_chain": [
    ]
}

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

TrustListsGet

Lists the trusted lists the wallet tracks. Requires the admin role, and a wallet configured with the trustListProviderPostgres trust list provider: one that fetches its lists from their publisher as it needs them tracks nothing, and answers 501.

A list reached through a List of Trusted Lists is not a source of its own and is not returned here. It is refreshed and removed along with the list that points at it.

Authorizations:
accessToken

Responses

Response samples

Content type
application/json
{
  • "trust_lists": [
    ]
}

TrustListAdd

Starts tracking the trusted list published at the given URL, storing its contents and pinning it to the certificate that signed it. Adding a list that is already tracked refreshes it. Requires the admin role and the trustListProviderPostgres provider.

This fetches the list before it answers, and adding a List of Trusted Lists also walks every list it points at, so the call takes as long as those fetches do. A list that could not be reached through the walk is left out rather than failing the registration.

Authorizations:
accessToken
Request Body schema: application/json
required
url
required
string

The URL the trusted list is published at.

kind
required
string (TrustListKind)
Enum: "trustList" "lotl"

What a trusted list URL names. A lotl is a List of Trusted Lists, whose pointers are followed to the lists it names; a trustList is a leaf list, holding trust services directly.

Responses

Request samples

Content type
application/json
{
  • "url": "string",
  • "kind": "trustList"
}

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

TrustListDelete

Stops tracking the trusted list published at the given URL and removes its contents. Removing a List of Trusted Lists removes the lists reached through it as well. Requires the admin role and the trustListProviderPostgres provider.

A wallet whose configuration still names this list will register it again the next time it verifies against it.

Authorizations:
accessToken
query Parameters
url
required
string

The URL the trusted list is published at.

Responses

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

TrustListRefresh

Refetches the tracked trusted list published at the given URL and stores what it fetched, whether or not the publisher has issued a new version of it. This is what separates a forced refresh from the sweep the wallet makes on its own interval, which leaves an unchanged list alone. Requires the admin role and the trustListProviderPostgres provider.

The refetch is pinned to the certificate already recorded for the list, so a list cannot be moved onto a new signer by refreshing it: one signed by a different certificate is rejected with 409 and the stored copy is kept.

Authorizations:
accessToken
query Parameters
url
required
string

The URL the trusted list is published at.

Responses

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

DidDocumentGet

Gets the DID Document of the wallet.

path Parameters
wallet_id
required
string

Responses

Response samples

Content type
application/did+ld+json
{ }

WalletIdentifierGet

Returns the wallet's public identifier — e.g. a DID (Decentralized Identifier) or a wallet URL. Used by other parties to reference this wallet in trust framework interactions and credential exchanges.

Authorizations:
accessToken
header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "identifier": "string"
}

DidDocumentLocalGet

Returns the wallet's own DID document, as published at /{wallet_id}/did.json for a self-hosted did:web.

Authorizations:
accessToken
header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{ }

DidDocumentPatch

Changes the wallet's DID document: removes the services in removeServiceIds, adds the services in addServices (a service with the same id is replaced), and, when alsoKnownAs is set, replaces the subject's other identifiers (an empty list removes them). UNTP identifies an entity's Digital Identity Anchor with a service of type https://test.uncefact.org/vocabulary/link-type/dia (untp:dia in UNTP 0.7) and registered identifiers with alsoKnownAs.

Only a self-hosted did:web document can be changed; services of an EBSI DID are written to the EBSI DID registry, which does not take alsoKnownAs.

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: application/json
required
alsoKnownAs
Array of strings

The subject's other identifiers, as absolute URIs. Replaces the current ones; empty removes them.

Array of objects (DidService)
removeServiceIds
Array of strings

Ids of the services to remove, as fragments of the DID (without #).

Responses

Request samples

Content type
application/json
{
  • "alsoKnownAs": [
    ],
  • "addServices": [
    ],
  • "removeServiceIds": [
    ]
}

Response samples

Content type
application/json
{ }

UntpLinkPublish

Publishes an issued, valid W3C VCDM credential as a UNTP link: it is served at its public URL (/api/v1/{wallet_id}/vc/{credential_id}) and the wallet's DID document gets a service of the link type, whose endpoint is a link target to that URL. Publishing a credential again as the same link type returns the existing link. The wallet's DID document must be one it hosts (a self-hosted did:web, or an EBSI DID).

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: application/json
required
credentialId
required
string
linkType
required
string

The UNTP link type: dpp, dcc, dfr, dte, dia or dcr, its UNTP 0.8.0 IRI (https://test.uncefact.org/vocabulary/link-type/dia) or its UNTP 0.7 alias (untp:dia). The DID service is published with the 0.8.0 value, the IRI for every type but dpp.

title
string

The title of the link. Defaults to the link type's, e.g. Digital Product Passport.

hreflang
Array of strings

The languages of the credential. Defaults to ["en"].

Responses

Request samples

Content type
application/json
{
  • "credentialId": "string",
  • "linkType": "string",
  • "title": "string",
  • "hreflang": [
    ]
}

Response samples

Content type
application/json
{
  • "serviceId": "string",
  • "href": "string",
  • "linkType": "string",
  • "title": "string",
  • "credentialId": "string"
}

UntpLinkDelete

Removes a UNTP link from the wallet's DID document and stops serving its credential.

Authorizations:
accessToken
path Parameters
service_id
required
string

The service id of the link, in full (<did>#<fragment>) or as its fragment.

header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

VerifierCredentialVerify

Verifies a credential, given raw or by URL, with the wallet's trust framework, and reports each check: the signature (with the key the issuer's identifier resolves to), the validity dates, and, unless turned off, the JSON-LD document (W3C VCDM 2.0), the status, the schema and the issuer's trust. A credential that fails is still 200, with verified: false; code reuses the error codes of /verifier/untp/resolve.

A url must be https, and is never fetched from a private, loopback or link-local address, so a localhost URL is refused too. It is fetched within 10 s, 5 MiB and 3 redirects on the same host, and only as a credential media type.

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: application/json
required
raw
string

The credential as received, e.g. a JWS.

url
string

Where to fetch the credential.

object (VerifierCredentialChecks)

The checks to run besides the signature and validity dates; each is on unless set false.

Responses

Request samples

Content type
application/json
{
  • "raw": "string",
  • "url": "string",
  • "checks": {
    }
}

Response samples

Content type
application/json
{
  • "verified": true,
  • "format": "string",
  • "issuer": "string",
  • "checks": [
    ],
  • "payload": { }
}

VerifierRender

Renders a credential for a human with one of its renderMethod entries: a UNTP RenderTemplate2024 (Handlebars, the output in its mediaType: text/html, the default, or text/plain) or a W3C TemplateRenderMethod of the html suite (a wrapper document to show in an iframe with sandbox="allow-scripts" and srcdoc) or the card suite (a JSON card). By default the first method that can be rendered is used.

A signedVc is verified (its signature, validity and status) before it is rendered, and X-Credential-Verified is true; one that fails is 422. A vc is a credential document rendered as it is, with X-Credential-Verified: false.

A credential with no render method that matches, or a method that cannot be rendered (nfc, a template of another mediaType, or an unknown type), is 422 with no render method or render suite unsupported; an invalid one is 422 with invalid render method, a template that cannot be fetched or does not match its digest render template unavailable, and one that fails or runs too long render failed.

A remote template is fetched over https only, within 5 s and 1 MiB, and must match its digestMultibase. Rendering stops after 2 s or 1 MiB of output. A template that runs on past that still counts against the renderings the wallet runs at once (render.maxConcurrent); when none is free, the response is 503.

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: application/json
required
signedVc
string

A signed credential (compact JWS, SD-JWT), verified before it is rendered.

object

A credential document, rendered without verification.

index
integer >= 0

The index of the render method to use.

suite
string (RenderSuite)
Enum: "html" "card" "template2024"

A render suite; template2024 is a UNTP RenderTemplate2024.

mediaQuery
string

Use the first render method with exactly this mediaQuery.

Responses

Request samples

Content type
application/json
{
  • "signedVc": "string",
  • "vc": { },
  • "index": 0,
  • "suite": "html",
  • "mediaQuery": "string"
}

Response samples

Content type
No sample

VerifierDidVerify

Verifies whether the wallet's trust framework trusts a DID, beyond resolving its key.

A UNTP wallet requires a Digital Identity Anchor (UNTP 0.8.0, a profile of W3C Recognized Entities): the DID's DIA, found through its DID document's https://test.uncefact.org/vocabulary/link-type/dia service (or untp:dia), or a W3C WhoisService, is verified (signature, validity, status, the UNTP profile) and chained up, DIA by DIA, to a registrar the wallet trusts: its own (UNTP.trustedRegistrars), then the deployment's (untp.dia.trustedRegistrars, untp.dia.registryUrl). A registrar is itself trusted without a DIA. The details are in untp.

A DID that is not trusted is still 200, with trusted: false and the reasons in failures. With credentialType, the issuer policy for that credential type is evaluated too. A wallet whose trust framework does not verify DIDs is 422.

Authorizations:
accessToken
query Parameters
did
required
string

The DID to verify.

credentialType
string

Evaluate the issuer policy of this credential type, e.g. DigitalProductPassport.

header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "did": "string",
  • "trustFramework": "EBSI",
  • "trusted": true,
  • "failures": [
    ],
  • "policy": {
    },
  • "untp": {
    },
  • "verifiedAt": "2019-08-24T14:15:22Z"
}

UntpRegistryList

Lists the registrars the wallet trusts to issue Digital Identity Anchors, and whether the wallet's own DID is one of them. Each registrar says where it is listed (source): in the wallet's UNTP.trustedRegistrars, the deployment's untp.dia.trustedRegistrars, or the deployment's remote registry (untp.dia.registryUrl), in that order of precedence. With a remote registry, registry says which copy of it is in use; one that cannot be fetched is reported there, and the other registrars are still listed.

Authorizations:
accessToken
header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "registrars": [
    ],
  • "registry": {
    },
  • "self": {
    }
}

VerifierUntpResolve

Resolves a DID into the RFC 9264 linkset of the UNTP links its DID document advertises and, with fetch, fetches the linked credentials and verifies them. A credential that fails is reported in credentials and verification.failed, with the response still 200: verification.ok is the verdict.

Authorizations:
accessToken
query Parameters
identifier
required
string

The DID to resolve.

linkType
string

The link types to fetch, comma separated (e.g. dpp,dcc), or all (the default). The linkset uses the UNTP 0.8.0 relations: dpp, linkset for an identity resolver, and https://test.uncefact.org/vocabulary/link-type/<type> for the others. A DID document's UNTP 0.7 service types (untp:dia, bare dcc) are read as the same link types.

fetch
boolean
Default: false

Fetch and verify the linked credentials.

verify
boolean
Default: true

Verify the fetched credentials' dates, status and schema, besides their signature.

verifyIssuer
boolean
Default: true

Also verify whether the wallet's trust framework trusts the DID, as /verifier/did does, and report it as issuer. A wallet whose trust framework does not verify DIDs reports no issuer, and is 422 when verifyIssuer is set explicitly. A UNTP wallet enforces the anchor on every signature anyway; this reports it.

header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "identifier": {
    },
  • "anchor": "string",
  • "linkset": { },
  • "verification": {
    },
  • "credentials": [
    ],
  • "issuer": {
    }
}

CredentialList

Retrieves a list of credentials.

Authorizations:
accessToken
query Parameters
interaction
string
Enum: "issuance" "receive" "statusList" "taoCredentials"

The interaction that is the origin of the credential. At least one of interaction and type is required; when both are given, credentials must match both.

type
string

The credential type as comma delimited list representing a single type. At least one of interaction and type is required; when both are given, credentials must match both. I.e. VerifiableCredential,VerifiableAttestation,Europass.

valid
boolean

The credential validity flag. If not provided credentials with any validity will be returned.

limit
integer

The number of items

nextMarker
string

Marking the next set of items

sort
string (ListSort)
Enum: "asc" "desc"

Sort flag controls the sort direction by the time updated or issued

searchPath
string

JSON path specification for the filter to apply

filter
string <byte>

JSON schema filter used to select the credentials (base64 encoded)

header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "list": [
    ],
}

CredentialCreate

Creates a new draft credential.

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: application/json
required

A Verifiable Credential payload in JSON format.

required
Credential Subject Item (object) or Array of Credential Subject (objects) (Credential Subject)

Set of objects that MUST contain one or more claims that are each related to a subject of the verifiable credential. When the credential is in W3C VCDM, the subject is in its compacted form with claim keys in their full IRI form.

required
object (Verifiable Credential Draft metadata)

Accompanying information about the verifiable credential draft - schema, type, format etc.

issuerId
string (Issuer of the draft)

ID of the credential issuer (CredentialIssuerDefinition.id, from the wallet configuration or the trust framework) that issues the draft. When set, the draft can only be queued for issuance by this issuer.

validateSchema
boolean
Default: true

If true, the credential draft is checked against its schema. Defaults to true.

validateJsonLd
boolean

If true, a VCDM 2.0 draft must define every property in its JSON-LD context, now and when it is issued. Defaults to the jsonld.enforceOnCreate setting.

property name*
additional property
any (Credential metadata)

Any additional key, value pairs used for internal purposes of an issuer or holder.

Responses

Request samples

Content type
application/json
{
  • "credentialSubject": { },
  • "credentialDraftMetadata": {
    },
  • "issuerId": "string",
  • "validateSchema": true,
  • "validateJsonLd": true,
  • "property1": null,
  • "property2": null
}

Response samples

Content type
application/json
{
  • "id": "string"
}

CredentialImport

Import pre-signed credential into wallet

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: application/json
required

A Verifiable Credential payload in JSON format.

credential
required
string
name
required
string
validateJsonLd
boolean
Default: false

If true, a VCDM 2.0 credential is refused unless its JSON-LD context defines every property.

Responses

Request samples

Content type
application/json
{
  • "credential": "string",
  • "name": "string",
  • "validateJsonLd": false
}

Response samples

Content type
application/json
{
  • "metadata": {
    },
  • "vcSubject": { }
}

CredentialRequestInit

Requests a credential issuance from the issuer and retrieves requirements for holder authorization.

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: application/json
required

A Verifiable Credential request: types and URL of the issuer

types
required
string
format
required
string (Verifiable credential format)
Enum: "sd_jwt_vc" "jwt_vc_vcdm" "mso_mdoc"

jwt_vc_vcdm - VC using W3C VC Data Model as jwt sd_jwt_vc - VC using sd_jwt_vc data model as jwt mso_mdoc - VC using ISO/IEC 18013-5 mdoc format

url
required
string <url>
state
string

Responses

Request samples

Content type
application/json
{
  • "types": "string",
  • "format": "sd_jwt_vc",
  • "url": "string",
  • "state": "string"
}

Response samples

Content type
application/json
[
  • "string"
]

CredentialGet

Retrieves a specific verifiable credential based on the provided identifier. Upon retrieval the status of the credential is checked on the fly and therefore guaranteed.

Authorizations:
accessToken
path Parameters
credential_id
required
string (Verifiable Credential ID)

Verifiable Credential Identifier

header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "metadata": {
    },
  • "vcSubject": { }
}

CredentialPatch

Endpoint used to update an existing Credential in draft state. Can be used for additional updates before the Credential is issued. After credential is issued it may not be changed in any way.

Authorizations:
accessToken
path Parameters
credential_id
required
string (Verifiable Credential ID)

Verifiable Credential Identifier

header Parameters
wallet-id
required
string
Request Body schema: application/json
required
required
Credential Subject Item (object) or Array of Credential Subject (objects) (Credential Subject)

Set of objects that MUST contain one or more claims that are each related to a subject of the verifiable credential. When the credential is in W3C VCDM, the subject is in its compacted form with claim keys in their full IRI form.

name
required
string (Credential name)
contexts
Array of any (JSON-LD contexts of the draft (W3C VCDM only))

Replaces the draft's contexts; the same rules apply as on create.

vcdmName
string (VCDM `name` of the credential (W3C VCDM only))
vcdmDescription
string (VCDM `description` of the credential (W3C VCDM only))
Array of objects (RenderMethods)

The credential's VCDM renderMethod entries (W3C VCDM only): UNTP RenderTemplate2024 (type, name, mediaQuery, template, url, mediaType text/html or text/plain, digestMultibase, nothing else, and a template or an https url with a digestMultibase) or W3C TemplateRenderMethod (renderSuite html, card or nfc, renderProperty JSON pointers, template a data: URL or an https URL, with a digestMultibase when remote). Other types are kept as given. Replaces the draft's render methods; an empty array removes them.

issuerId
string (Issuer of the draft)

ID of the credential issuer (CredentialIssuerDefinition.id, from the wallet configuration or the trust framework) that issues the draft. When set, the draft can only be queued for issuance by this issuer.

credentialSchemaType
string (Credential schema type)
Enum: "FullJsonSchemaValidator2021" "JsonSchema"

The credentialSchema.type emitted in a W3C VCDM credential. Defaults to FullJsonSchemaValidator2021 with a VCDM 1.1 context and to JsonSchema with a VCDM 2.0 one.

validateJsonLd
boolean

If true, a VCDM 2.0 draft must define every property in its JSON-LD context, now and when it is issued. Unset keeps what the draft was created with.

validateSchema
boolean
Default: true

If true, the credential draft is checked against its schema. Defaults to true.

property name*
additional property
any (Any additional key, value pairs used to categorize or denote the Credential)

Responses

Request samples

Content type
application/json
{
  • "credentialSubject": { },
  • "name": "string",
  • "contexts": [
    ],
  • "vcdmName": "string",
  • "vcdmDescription": "string",
  • "renderMethod": [
    ],
  • "issuerId": "string",
  • "credentialSchemaType": "FullJsonSchemaValidator2021",
  • "validateJsonLd": true,
  • "validateSchema": true,
  • "property1": {
    },
  • "property2": {
    }
}

Response samples

Content type
application/json
{
  • "id": "string"
}

CredentialMetadataPatch

Verifiable Credential metadata may be updated even after the credential was issued. It is available as a key value storage for a client to store any additional data for the credential.

Authorizations:
accessToken
path Parameters
credential_id
required
string (Verifiable Credential ID)

Verifiable Credential Identifier

header Parameters
wallet-id
required
string
Request Body schema: application/json

Verifiable Credential metadata in JSON

name
string (Verifiable Credential name)
issuerId
string (Issuer of the draft)

ID of the credential issuer (CredentialIssuerDefinition.id, from the wallet configuration or the trust framework) that issues the draft. When set, the draft can only be queued for issuance by this issuer.

verificationAutoAccept
boolean (Auto-accept verification requests)

Flag to set automatic acceptance of verification requests which resolve to this credential

property name*
additional property
any

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "issuerId": "string",
  • "verificationAutoAccept": true
}

Response samples

Content type
application/json
{
  • "id": "string"
}

CredentialClaimMetadataGet

Returns Claim Metadata for all credential claims (supported only for JSON-LD credentials).

Authorizations:
accessToken
path Parameters
credential_id
required
string (Verifiable Credential ID)

Verifiable Credential Identifier

query Parameters
metadata_scope
string
Enum: "subject" "credential"

Scope of the RDF metadata;

  • subject: only provide metadata for claims in credential subject
  • credential: provide metadata for claims in whole credential
contexts
Array of strings

JSON-LD contexts to apply to the credential (supported only with JSON-LD credentials). The base VC context is always applied. When omitted, all contexts of the credential are applied.

header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "property1": {
    },
  • "property2": {
    }
}

CredentialPayloadGet

Returns raw credential payload, with format depending on credential format.

Authorizations:
accessToken
path Parameters
credential_id
required
string (Verifiable Credential ID)

Verifiable Credential Identifier

query Parameters
form
string
Enum: "compacted" "expanded" "flattened"

Form of the returned credential payload (supported only with JSON-LD credentials)

contexts
Array of strings

JSON-LD contexts to apply to the credential (supported only with JSON-LD credentials). The base VC context is always applied. When omitted, all contexts of the credential are applied.

header Parameters
wallet-id
required
string

Responses

Response samples

Content type
{ }

CredentialRawGet

Returns raw signed credential, with format depending on credential format:

  • SD-JWT VC: application/dc+sd-jwt
  • W3C VCDM: application/sd-jwt when it has selectively disclosable claims, application/jwt otherwise
  • mdoc: CBOR encoded DeviceResponse (application/cbor)
Authorizations:
accessToken
path Parameters
credential_id
required
string (Verifiable Credential ID)

Verifiable Credential Identifier

query Parameters
disclosed_claims
Array of strings

List of json paths of claims disclosed in the returned credential (returns all disclosures by default).

header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

CredentialRender

Renders a W3C VCDM credential of the wallet with one of its renderMethod entries, as POST /verifier/render does. HTML is served with a Content-Security-Policy that sandboxes it.

Authorizations:
accessToken
path Parameters
credential_id
required
string (Verifiable Credential ID)

Verifiable Credential Identifier

query Parameters
index
integer >= 0

The index of the render method to use, in the credential's renderMethod.

suite
string (RenderSuite)
Enum: "html" "card" "template2024"

Use the first render method of this suite.

mediaQuery
string

Use the first render method with exactly this mediaQuery.

header Parameters
wallet-id
required
string

Responses

Response samples

Content type
No sample

CredentialRenderMethods

Lists the render methods of a W3C VCDM credential of the wallet, for a client to pick one by its media query: media queries are not evaluated by the wallet.

Authorizations:
accessToken
path Parameters
credential_id
required
string (Verifiable Credential ID)

Verifiable Credential Identifier

header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

PdfCredentialTwinUpload

Uploads a PDF that will be signed and embedded with the verifiable credential when it will be issued. Can be used only for credentials in Draft state. Maximum size of the PDF document is 20 MB.

Authorizations:
accessToken
path Parameters
credential_id
required
string (Verifiable Credential ID)

Verifiable Credential Identifier

header Parameters
wallet-id
required
string
Request Body schema: multipart/form-data
required
pdf
required
string <binary>

Responses

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

PdfCredentialTwinDelete

Deletes the PDF associated with the verifiable credential. Can be used only for credentials in Draft state.

Authorizations:
accessToken
path Parameters
credential_id
required
string (Verifiable Credential ID)

Verifiable Credential Identifier

header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

PdfCredentialTwinGet

Returns either an unsigned PDF that was uploaded to be signed and embedded into a verifiable credential in case of credential in Draft state, or a signed PDF embedded in an issued VC.

Authorizations:
accessToken
path Parameters
credential_id
required
string (Verifiable Credential ID)

Verifiable Credential Identifier

header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

PdfCredentialMakeVp

Returns a signed PDF contained in the verifiable credential containing the credential VP added as an attachment in incremental update.

Authorizations:
accessToken
path Parameters
credential_id
required
string (Verifiable Credential ID)

Verifiable Credential Identifier

query Parameters
sign_pdf
required
boolean

Whether to sign the PDF with holder's X509 certificate or not

header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

CredentialIssuanceInit

Prepares created Verifiable Credential draft for its issuance for a specific client.

Authorizations:
accessToken
path Parameters
credential_id
required
string
header Parameters
wallet-id
required
string
Request Body schema: application/json
required
issuerId
required
string (Issuer ID)

Identifier used by the wallet to decide which issuer to use to issue the credential.

clientId
string (Client ID)

The future holder identifier. Usually this is the DID of the holder wallet.

idTokenRequestId
string (ID Token request identifier)

If ID Token was used to identify the holder's wallet.

object (IssuanceRequirementsToVerify)

Responses

Request samples

Content type
application/json
{
  • "issuerId": "string",
  • "clientId": "string",
  • "idTokenRequestId": "string",
  • "issuanceRequirementsToVerify": {
    }
}

Response samples

Content type
application/json
{
  • "issuanceQueueItemId": "string"
}

CredentialIssueDirect

Issues a W3C VCDM draft as a credential of the wallet itself, with no holder and no OID4VCI: for a credential that is published rather than handed to anyone, such as a UNTP Digital Product Passport (EN 18246 Annex B.5). The credential gets the wallet's status list entry and envelope, and is stored issued on the same record. With publish, it is then published as a UNTP link, like POST /untp/links; if that fails the response is 502 with the issued credentialId, and publishing is retried with POST /untp/links.

Authorizations:
accessToken
path Parameters
credential_id
required
string (Verifiable Credential ID)

Verifiable Credential Identifier

header Parameters
wallet-id
required
string
Idempotency-Key
string <= 255 characters

Makes a retry safe: a repeat with the same key, for the same wallet, gets the first response (with Idempotent-Replayed: true) for 24 hours. The same key with a different request is 422. A 5xx response is not kept: a retry runs the request again. A repeat while the first request runs, or after it completed without its response being kept, is 409.

Request Body schema: application/json
issuerId
string

The wallet's credential issuer that signs, as in issue/init. Defaults to the draft's issuer, or the wallet's only one.

object (UntpLinkOptions)

How to publish a credential as a UNTP link.

Responses

Request samples

Content type
application/json
{
  • "issuerId": "string",
  • "publish": {
    }
}

Response samples

Content type
application/json
{
  • "credentialId": "string",
  • "mediaType": "string",
  • "raw": "string",
  • "publicUrl": "string"
}

CredentialRevoke

Revoke a specific Verifiable Credential. A credential published as a UNTP link stays published: a verifier following its link finds it and verifies it as revoked. DELETE /untp/links/{service_id} unpublishes it.

Authorizations:
accessToken
path Parameters
credential_id
required
string (Verifiable Credential ID)

Verifiable Credential Identifier

header Parameters
wallet-id
required
string
Idempotency-Key
string <= 255 characters

Makes a retry safe: a repeat with the same key, for the same wallet, gets the first response (with Idempotent-Replayed: true) for 24 hours. The same key with a different request is 422. A 5xx response is not kept: a retry runs the request again. A repeat while the first request runs, or after it completed without its response being kept, is 409.

Responses

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

CredentialSuspend

Suspend a Verifiable Credential issued with the suspension status purpose (W3C Bitstring Status List v1.0). A suspension can be lifted with DELETE.

Authorizations:
accessToken
path Parameters
credential_id
required
string (Verifiable Credential ID)

Verifiable Credential Identifier

header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

CredentialUnsuspend

Lift the suspension of a Verifiable Credential.

Authorizations:
accessToken
path Parameters
credential_id
required
string (Verifiable Credential ID)

Verifiable Credential Identifier

header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

DeferredStatus

Polls the status of a deferred credential issuance. Returns in_progress while the operation is still pending, or completed with the resulting credential ID when done. Clients should poll this endpoint until a terminal status is reached.

Authorizations:
accessToken
path Parameters
deferred_id
required
string

Deferred token

header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "Status": "in_progress",
  • "Id": "string"
}

IdTokenRequestCreate

Creates an ID token request that will be sent to the holder for DID-based authentication. Used during the authorized credential issuance flow when the issuer requires the holder to prove control of their DID before the credential is issued. The returned request ID is passed to CredentialIssuanceInit as idTokenRequestId.

Authorizations:
accessToken
header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "requestUrl": "string",
  • "id": "string"
}

HolderCreateAuthOffer

Creates an authorized credential offer (deferred or instant) for holder-initiated credential request using provided parameters. The offer is an URL that the creator should provide to the client via a redirect, link, or QR code.

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: application/json
required
issuerUrl
required
string
types
required
string
format
required
string (Verifiable credential format)
Enum: "sd_jwt_vc" "jwt_vc_vcdm" "mso_mdoc"

jwt_vc_vcdm - VC using W3C VC Data Model as jwt sd_jwt_vc - VC using sd_jwt_vc data model as jwt mso_mdoc - VC using ISO/IEC 18013-5 mdoc format

state
required
string

Issuer state passed to the issuer in the authorization code grant. May be empty.

deferred
required
boolean
Deprecated

Ignored.

Responses

Request samples

Content type
application/json
{
  • "issuerUrl": "string",
  • "types": "string",
  • "format": "sd_jwt_vc",
  • "state": "string",
  • "deferred": true
}

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

VerifierInitUrlCreate

Creates a verification session and returns a URL where the verifier accepts credential presentations from a holder. The URL is typically shared as a QR code or deep link. After the holder presents credentials, use WalletVerifiedCredentialsByState with the returned state to retrieve the verification result.

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: application/json
required
verifierId
required
string
createUrl
boolean
Default: true

When true, a verification request URL is created. When false, verification request is registered for a specific holder, that can then start the interaction by making an authorization request with custom scope. Defaults to true.

holderEntityId
string

Used when createUrl is set to false. Entity ID of the holder that will verify by making an Authorization request with custom scope.

wmpEntityId
string

ID of an WMP entity with which a WMP connection has already been established. If provided, WMP is used to send the credential offer to the specified recipient.

Array of objects (VerifyQueryFragment)

List of custom presentation definition/DCQL query fragments to be applied to the presentation definition/DCQL query in the verifier's configuration

Array of objects (TransactionData)

Transaction data the holder authorizes with the presentation (OpenID4VP 1.0 §5.1). Requires a verifier with a DCQL query; each entry's credential_ids must reference its credential query ids.

redirectUri
string <uri>

URI the holder's user agent is redirected to after presenting (OpenID4VP 1.0 §8.2), with a response_code query parameter to pass to WalletVerifiedCredentialsByState. Overrides the verifier's redirectUri. Used only when createUrl is true.

Responses

Request samples

Content type
application/json
{
  • "verifierId": "string",
  • "createUrl": true,
  • "holderEntityId": "string",
  • "wmpEntityId": "string",
  • "customQueries": [
    ],
  • "transactionData": [
    ],
  • "redirectUri": "http://example.com"
}

Response samples

Content type
application/json
{
  • "verifierUrl": "string",
  • "verifierState": "string"
}

VerifierPdfVerify

Verifies the signatures of uploaded PDF and extracts and verifies VP in the PDF document Maximum size of the PDF document is 50 MB.

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: multipart/form-data
required
pdf
required
string <binary>
extractVp
required
boolean

Whether to extract VP attachment from the PDF. A missing value is false.

trustedCertificates
Array of strings

Base64 encoded x509 certificates with which the PDF may be signed.

trustedListsUrl
Array of strings

URLs of ETSI trusted lists that will be used for verification purposes. If not provided, ETSI trust list configured for the wallet will be used.

trustedListSigningCertificates
Array of strings

Base64 encoded x509 certificates with which the ETSI trusted lists may be signed. If not provided, values from wallet config will be used.

Responses

Response samples

Content type
application/json
{
  • "vpValid": true,
  • "verifiedCredentials": {
    },
  • "signatures": [
    ]
}

IssuerCredentialTypesList

Returns verifiable credential format and types that are supported by the issuer.

  • format: the verifiable credential format (for example "jwt_vc")
  • type: a list of strings that define supported verifiable credential type(s)
Authorizations:
accessToken
query Parameters
url
required
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

IssuerInitiatePreauthOffer

Generates a pre-authorized credential offer for the holder. Unlike the authorized flow, the holder does not need to authenticate with the issuer — instead a pre-authorized code (and optional PIN) is embedded in the offer URL. The resulting offer URL is returned and Generates a pre-authorized credential offer for the holder. The resulting offer URL is returned and can be shared as a QR code or deep link.

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: application/json
required
clientId
string

DID of holder for which the offer is created.

idTokenRequestId
string

ID of ID token request issued to the holder.

issuerId
required
string

ID of the issuer used to issue the credential.

issuerIds
Array of strings

IDs of further issuers whose credentials are offered together with the one of issuerId, one credential configuration each (OID4VCI 1.0 §4.1.1). The issuer of issuerId decides how the holder authorizes. Not supported together with wmpEntityId.

offerEndpoint
string
Default: "openid-credential-offer://"

The holder's credential offer endpoint (OID4VCI 1.0 §4.1): offer is this URL with the offer parameters in its query. Not used with wmpEntityId.

deferred
boolean
Default: false
wmpEntityId
string

ID of an WMP entity with which a WMP connection has already been established. If provided, WMP is used to send the credential offer to the specified recipient.

Responses

Request samples

Content type
application/json
{
  • "clientId": "string",
  • "idTokenRequestId": "string",
  • "issuerId": "string",
  • "issuerIds": [
    ],
  • "offerEndpoint": "openid-credential-offer://",
  • "deferred": false,
  • "wmpEntityId": "string"
}

Response samples

Content type
application/json
{
  • "preauthCode": "string",
  • "pin": "string",
  • "issuerUrl": "string",
  • "offer": "string",
  • "validUntil": "2019-08-24T14:15:22Z",
  • "offerId": "string"
}

IssuerInitiateAuthOffer

Generates an authorized credential offer URL for the holder to initiate the credential issuance flow. The resulting offer URL is typically presented as a QR code or deep link. If wmpEntityId is provided, the offer is delivered directly via WMP and 204 is returned.

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: application/json
required
issuerId
required
string

ID of the issuer used to issue the credential.

issuerIds
Array of strings

IDs of further issuers whose credentials are offered together with the one of issuerId, one credential configuration each (OID4VCI 1.0 §4.1.1). The issuer of issuerId decides how the holder authorizes. Not supported together with wmpEntityId or issuanceQueueItemId.

offerEndpoint
string
Default: "openid-credential-offer://"

The holder's credential offer endpoint (OID4VCI 1.0 §4.1): offer is this URL with the offer parameters in its query. Not used with wmpEntityId.

deferred
boolean
Default: false
issuanceQueueItemId
string

Id of issuance queue item. Required when issuer type is CredentialQueue type and no clientId was provided when adding credential to queue.

wmpEntityId
string

ID of an WMP entity with which a WMP connection has already been established. If provided, WMP is used to send the credential offer to the specified recipient.

Responses

Request samples

Content type
application/json
{
  • "issuerId": "string",
  • "issuerIds": [
    ],
  • "offerEndpoint": "openid-credential-offer://",
  • "deferred": false,
  • "issuanceQueueItemId": "string",
  • "wmpEntityId": "string"
}

Response samples

Content type
application/json
{
  • "state": "string",
  • "issuerUrl": "string",
  • "offer": "string",
  • "validUntil": "2019-08-24T14:15:22Z",
  • "offerId": "string"
}

IssuerDetachedJwsSign

Signs an opaque payload, such as an audit log entry, with the wallet's DID key, as a compact detached JWS with an unencoded payload (RFC 7515 Appendix F, RFC 7797: b64: false, crit: ["b64"]): <protected header>..<signature>. The signature is verified offline against the key in the wallet's DID document, with the payload put back. typ must be one the deployment allows, which no credential or presentation verifier accepts, so a signature from here never passes as a credential.

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Idempotency-Key
string <= 255 characters

Makes a retry safe: a repeat with the same key, for the same wallet, gets the first response (with Idempotent-Replayed: true) for 24 hours. The same key with a different request is 422. A 5xx response is not kept: a retry runs the request again. A repeat while the first request runs, or after it completed without its response being kept, is 409.

Request Body schema: application/json
required
payload
required
string

The payload to sign, base64url encoded; at most 64 KiB decoded.

typ
required
string

The JWS typ, one of issuer.jws.allowedTypes.

Responses

Request samples

Content type
application/json
{
  • "payload": "string",
  • "typ": "string"
}

Response samples

Content type
application/json
{
  • "jws": "string",
  • "kid": "string"
}

IssuerXadesSign

Signs an XML document with XAdES signature

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: multipart/form-data
required
xml
required
string <binary>
xadesSignatureType
required
string
Enum: "tsl" "xml"

Responses

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

HolderOfferPassAuthInfo

Processes a credential offer URL (received from an issuer via QR code, deep link, or WMP) and returns what authorization is required to accept it - pin, credential presentation or a redirect to custom authorization flow. holder needs to present to the issuer, along with matching candidates from the wallet. The returned interactionId is used in the subsequent HolderOfferProcessAfterConsent call.

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: application/json
required

Verifiable Credential offer

Url
required
string <url>

The Verifiable Credential offer URL provided by the issuer

Responses

Request samples

Content type
application/json
{
  • "Url": "string"
}

Response samples

Content type
application/json
{
  • "requirementType": "none",
  • "authnUrl": "string",
  • "presentationDefinition": {
    },
  • "dcqlQuery": {
    },
  • "presentationCandidates": [
    ],
  • "interactionId": "string",
  • "offeredCredentialsTypes": [
    ],
  • "issuerUrl": "string",
  • "issuerDisplay": [
    ],
  • "autoAccepted": true,
  • "transactionData": [
    ]
}

HolderOfferProcessAfterConsent

Completes a credential offer flow after holder consent: submits data needed for the holder to authorize candidates to the issuer for holder authorization and retrieves the issued credential(s) into the wallet. The interaction_id is obtained from HolderOfferPassAuthInfo.

Authorizations:
accessToken
path Parameters
interaction_id
required
string
header Parameters
wallet-id
required
string
Request Body schema: application/json
pin
string

Pin code needed for pre-authorized credential offers. Required when authorization requirement type is pin

Array of objects (InputDescriptorSuitableCredentials)

Array of IDs of credentials that will be presented in the interaction. Must be a subset of authorization requirements presentation candidates. Required when authorization requirement type is vp_token.

Responses

Request samples

Content type
application/json
{
  • "pin": "string",
  • "credentialsToPresent": [
    ]
}

Response samples

Content type
application/json
[
  • "string"
]

HolderIdTokenSend

Responds to an ID token request

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: application/json
required
requestUrl
required
string

Responses

Request samples

Content type
application/json
{
  • "requestUrl": "string"
}

Response samples

Content type
application/json
{
  • "redirectUri": "string",
  • "response": { }
}

HolderPresentPassAuthInfo

Processes a verifier's presentation request URL and returns the presentation definition along with matching credential candidates from the wallet. The holder reviews which credentials will be disclosed before giving consent. The returned interactionId is used in the subsequent HolderCredentialsPresentAfterConsent call.

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: application/json
required
verifierUrl
required
string

URL of verifier or vp_token request url

verifierScope
string

Custom authorization scope, used when verifierUrl is the URL of verifier

Responses

Request samples

Content type
application/json
{
  • "verifierUrl": "string",
  • "verifierScope": "string"
}

Response samples

Content type
application/json
{
  • "requirementType": "none",
  • "authnUrl": "string",
  • "presentationDefinition": {
    },
  • "dcqlQuery": {
    },
  • "presentationCandidates": [
    ],
  • "interactionId": "string",
  • "offeredCredentialsTypes": [
    ],
  • "issuerUrl": "string",
  • "issuerDisplay": [
    ],
  • "autoAccepted": true,
  • "transactionData": [
    ]
}

HolderCredentialsPresentAfterConsent

Completes a credential presentation flow: submits the selected credentials to the verifier after the holder's explicit consent. The interaction_id is obtained from HolderPresentPassAuthInfo.

Authorizations:
accessToken
path Parameters
interaction_id
required
string
header Parameters
wallet-id
required
string
Request Body schema: application/json
pin
string

Pin code needed for pre-authorized credential offers. Required when authorization requirement type is pin

Array of objects (InputDescriptorSuitableCredentials)

Array of IDs of credentials that will be presented in the interaction. Must be a subset of authorization requirements presentation candidates. Required when authorization requirement type is vp_token.

Responses

Request samples

Content type
application/json
{
  • "pin": "string",
  • "credentialsToPresent": [
    ]
}

Response samples

Content type
application/json
{
  • "redirectUri": "string",
  • "response": { }
}

WalletList

Provides list of wallets owned by the authenticated client, sorted by wallet name in byte order (Unicode code point order of the UTF-8 name, so upper case sorts before lower case). Wallets with the same name are in the order they were created.

Authorizations:
accessToken
query Parameters
ownerId
string
searchName
string

Wallet name to search using "begins-with" filter

tenantId
string

Lists the wallets of every owner in this tenant instead, each with its ownerId. Only a Tenant Owner of the tenant may set it, and not together with ownerId.

Responses

Response samples

Content type
application/json
[
  • {
    }
]

WalletCreate

Creates a new wallet for the authenticated client.

Authorizations:
accessToken
Request Body schema: application/json
required
name
required
string (Wallet name)
required
object (Wallet config)

Wallet specific configuration.

object (Wallet Metadata)

Custom key value pairs associated with the wallet. The key must not exceed 64 characters and the value must not exceed 256 characters.

Array of objects

Private keys for the wallet to use instead of generating its own, as JWKs (kty EC with d): at most one per curve, P-256 and secp256k1. The key of a curve not given is generated. The keys are kept in the wallet's vault only. A KMIP vault and an enrollment refuse them.

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "config": {
    },
  • "metadata": { },
  • "keys": [
    ]
}

Response samples

Content type
application/json
{
  • "id": "string"
}

WalletGet

Provides wallet details

Authorizations:
accessToken
path Parameters
wallet_id
required
string

Responses

Response samples

Content type
application/json
{
  • "walletId": "string",
  • "name": "string",
  • "capabilities": [
    ],
  • "config": {
    },
  • "metadata": { }
}

WalletPatch

Update wallet metadata and configuration.

The owner of the wallet patches its name, config and metadata; config.tenant is ignored for them. config.UNTP replaces the wallet's UNTP config, but for the read-only isOnboarded and role, which keep their stored values; an invalid one is 400. A Tenant Owner of the wallet's tenant patches config.tenant.issuerProxyUrl, also of wallets of other owners, and for those every other field of the body is ignored. config.tenant.tenantId never changes.

Authorizations:
accessToken
path Parameters
wallet_id
required
string
Request Body schema: application/json
name
string (Wallet name)
object (Wallet config properties)

Wallet configuration with no property required.

object (Wallet Metadata)

Custom key value pairs associated with the wallet. The key must not exceed 64 characters and the value must not exceed 256 characters.

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "config": {
    },
  • "metadata": { }
}

Response samples

Content type
application/json
{
  • "id": "string"
}

WalletDelete

Permanently deletes the wallet with all credentials and keys. Make sure you know what you are doing before hitting this endpoint.

Authorizations:
accessToken
path Parameters
wallet_id
required
string

Responses

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

TenantEnrollmentInit

Prepares a wallet for the tenant and returns a one-time enrollment state. Whoever presents the state to POST /tenant/{tenant_id}/enrollment/{state} gets a wallet created from the payload, in the tenant. Only a Tenant Owner of the tenant may call it. The payload is validated now; a tenantId it carries is ignored. The state is returned only here: the wallet keeps only its hash, which is the enrollment id.

Authorizations:
accessToken
path Parameters
tenant_id
required
string
Request Body schema: application/json
required
required
object (Wallet create payload)

Payload to create a wallet

expiresIn
integer

Seconds until the enrollment expires; the deployment's default (7 days) when unset, at most its maximum (30 days).

Responses

Request samples

Content type
application/json
{
  • "wallet": {
    },
  • "expiresIn": 0
}

Response samples

Content type
application/json
{
  • "state": "string",
  • "enrollmentId": "string",
  • "tenantId": "string",
  • "expiresAt": "2019-08-24T14:15:22Z"
}

TenantEnrollmentEnroll

Creates a wallet for the caller from a pending enrollment, in the tenant. A state can be used once. A caller whose token names another tenant is refused.

Authorizations:
accessToken
path Parameters
tenant_id
required
string
state
required
string

The enrollment state from TenantEnrollmentInit.

Responses

Response samples

Content type
application/json
{
  • "id": "string"
}

TenantEnrollmentList

Lists the tenant's pending enrollments, oldest first. Only a Tenant Owner of the tenant may.

Authorizations:
accessToken
path Parameters
tenant_id
required
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

TenantEnrollmentRevoke

Revokes a pending enrollment, so that its state no longer creates a wallet.

Authorizations:
accessToken
path Parameters
tenant_id
required
string
enrollment_id
required
string

Responses

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

WalletKeys

Provides wallet keys used for signing.

Authorizations:
accessToken
path Parameters
wallet_id
required
string

Wallet ID

Responses

Response samples

Content type
application/json
{
  • "PublicJwk": { },
  • "PublicX509": "string",
  • "PublicJwkSecp256k1": { },
  • "Private": { }
}

WalletX509CSRCreate

Creates an X509 Certificate Signing Request (CSR) for the wallet's signing key.

The resulting certificate is imported back via WalletX509CertificateImport to enable issuing credentials signed by X509 certificate chain it or XAdES/PDF signing.

Authorizations:
accessToken
path Parameters
wallet_id
required
string

Wallet ID

Request Body schema: application/json
required
organizationName
required
string (Organization name)
tradeName
string (Trade name)
did
string (DID)

DID identifier that will be added among Subject Alternative Names

organizationWebsite
required
string (Organization website)
email
required
string (Organization email)
streetAddress
required
string (Organization address)
locality
required
string (Town, city, village, etc. name where the organization is located)
postalCode
required
string (Organization address postal code)
province
string (Province/state where the organization is located)
country
required
string (Two letter ISO code for the country where the organization is located)

Responses

Request samples

Content type
application/json
{
  • "organizationName": "string",
  • "tradeName": "string",
  • "did": "string",
  • "organizationWebsite": "string",
  • "email": "string",
  • "streetAddress": "string",
  • "locality": "string",
  • "postalCode": "string",
  • "province": "string",
  • "country": "string"
}

Response samples

Content type
application/json
{
  • "csr": "string"
}

WalletX509CertificateGet

Returns the wallet's currently active X509 certificate in PEM format, used for XAdES/PDF signing. certificate for signature verification.

path Parameters
wallet_id
required
string

Wallet ID

Responses

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

WalletX509CertificateImport

Imports an X509 certificate to be used when signing credentials

Authorizations:
accessToken
path Parameters
wallet_id
required
string

Wallet ID

Request Body schema: application/json
required
certificate
required
string (X509 certificate in PEM format)

Responses

Request samples

Content type
application/json
{
  • "certificate": "string"
}

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

WalletNotifications

Provides SSE stream of notifications for a specific wallet. Supports replay of queued notifications via Last-Event-Id header parameter.

Authorizations:
accessToken
path Parameters
wallet_id
required
string

Wallet ID

query Parameters
eventType
string

Event type

state
string

Event state

header Parameters
Last-Event-ID
string

SSE last event ID

Responses

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

WalletNotificationHistory

Provides wallet notifications that can be used to audit the wallet activity.

Authorizations:
accessToken
path Parameters
wallet_id
required
string

Wallet ID

query Parameters
limit
integer

The number of items

nextMarker
string

Marking the next set of items

type
Array of strings (Wallet notification event type)
Items Enum: "vp.verified" "vp.invalid" "vp.presented" "idToken.received" "offer.processed" "offer.initiated" "credential.created" "credential.issued" "credential.received" "credential.revoked" "credential.suspended" "credential.unsuspended" "credential.accepted" "credential.failed" "credential.deleted" "wmp.invitation_accepted" "wmp.credential_offer" "wmp.credential_verification_request" "wmp.error" "wmp.message" "wmp.message_status" "wmp.identity_assertion_request" "wmp.identity_assertion_received" "untp.dia.issued" "untp.dia.published" "untp.dia.revoked" "wmp.evidence_received" "wmp.evidence_issued" "wmp.relay_status" "wmp.relay_correspondent_new" "wmp.relay_unrecognised" "wmp.message_decision_required"

Notification types

sort
string (ListSort)
Enum: "asc" "desc"

Sort flag controls the sort direction by the time created

newerThan
integer

List notifications that are newer than the provided timestamp

Responses

Response samples

Content type
application/json
{
  • "list": [
    ],
}

WalletNotificationGetByState

Gets a specific notification by state

Authorizations:
accessToken
path Parameters
wallet_id
required
string

Wallet ID

event_type
required
string

Event type

state
required
string

Event identifier

Responses

Response samples

Content type
application/json
{
  • "subjectIdentifier": "string",
  • "eventType": "vp.verified",
  • "eventDetails": {
    },
  • "createdTs": "string",
  • "state": "string",
  • "time": "2019-08-24T14:15:22Z"
}

WalletVerifiedCredentialsByState

Retrieves the result of a credential verification session identified by the verifier state. Called by the verifier after a holder has presented credentials in response to a VerifierInitUrlCreate request. Returns 204 if the holder has not yet presented.

Authorizations:
accessToken
path Parameters
wallet_id
required
string

Wallet ID

state
required
string

Verifier state

query Parameters
response_code
string

The response_code the holder's user agent was redirected with (OpenID4VP 1.0 §8.2). When given, the result is returned only if it matches the code issued for this session; otherwise 404.

Responses

Response samples

Content type
application/json
{
  • "credentials": [
    ],
  • "vp": "string",
  • "holder": "string"
}

WalletVerifiedCredentialsDeleteByState

Deletes a specific verified credentials by state

Authorizations:
accessToken
path Parameters
wallet_id
required
string

Wallet ID

state
required
string

Verifier state

Responses

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

TfOnboardRequest

Used by a TAO/RTAO wallet to process and approve an incoming onboarding request from another legal entity. Issues an onboarding credential (TIA) to the requesting entity, registering them in the trust framework. A UNTP registrar wallet makes a Digital Identity Anchor (untp) pending for the DID: the member obtains it through the OpenID4VCI issuance of untp-dia (an offer from /issuer/offer/preauth with the DID as clientId), signing its proof with the DID's key.

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: application/json
required
did
required
string

DID which will be onboarded

validUntil
required
string <date-time>

When the authorization to onboard expires. EBSI: the expiration date of the Verifiable Authorisation to Onboard. UNTP: when the requested Digital Identity Anchor expires; the request is pending until then.

object

UNTP: required, the Digital Identity Anchor to issue to did, which expires at validUntil. The request is pending until the DID's holder proves control of it in the OpenID4VCI issuance of untp-dia. EBSI: ignored.

Responses

Request samples

Content type
application/json
{
  • "did": "string",
  • "validUntil": "2019-08-24T14:15:22Z",
  • "untp": {
    }
}

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

TfOnboard

Completes the trust framework onboarding of this wallet using the specified onboarding credential. After successful onboarding, the wallet's DID is registered in the trust framework's TAO/TI hierarchy, enabling it to issue or verify trust-framework credentials. A UNTP wallet onboards with a Digital Identity Anchor of its DID, held (onboardingCredentialId) or offered (offer): it verifies it, publishes it in its DID document as a dia link, and replaces the DIA it published before.

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: application/json
onboardingCredentialId
string

Id of the onboarding credential that should be used for the onboarding process. Used when onboarding to IDTL and UNTP.

object

A credential offer of the onboarding credential: the wallet accepts it, then onboards with the credential it receives. Not with onboardingCredentialId.

Responses

Request samples

Content type
application/json
{
  • "onboardingCredentialId": "string",
  • "offer": {
    }
}

Response samples

Content type
application/json
{
  • "did": "string"
}

TfAccreditAs

Accredits a legal entity as RTAO (Root Trust Anchor Organisation), TAO (Trust Anchor Organisation), or TI (Trusted Issuer) within the trust framework hierarchy by issuing the appropriate accreditation credential to their DID.

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: application/json
required
type
required
string
Enum: "TrustedIssuer" "TrustedAccreditationOrganisation" "RootTrustedAccreditationOrganisation"

Responses

Request samples

Content type
application/json
{
  • "type": "TrustedIssuer"
}

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

TfAccreditRequest

Used by a TAO/RTAO wallet to process and approve an incoming accreditation request from another legal entity. Issues an accreditation credential authorizing the entity to issue credentials of the specified type within the trust framework.

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: application/json
required
did
required
string
type
required
string
Enum: "TrustedIssuer" "TrustedAccreditationOrganisation" "UntpRegistration"
accreditedFor
required
string

Base64 encoded json to be used for the accreditedFor property of the credential. For UntpRegistration, an UntpAccreditation.

validUntil
required
string <date-time>

Specifies when will the accreditation credential expire

Responses

Request samples

Content type
application/json
{
  • "did": "string",
  • "type": "TrustedIssuer",
  • "accreditedFor": "string",
  • "validUntil": "2019-08-24T14:15:22Z"
}

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

TfRevokeAccreditation

Revokes another legal entity's accreditation or trust framework registration by invalidating their credential in the trust status list.

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: application/json
required
did
required
string
type
required
string
Enum: "TrustedIssuer" "TrustedAccreditationOrganisation" "UntpRegistration"

Responses

Request samples

Content type
application/json
{
  • "did": "string",
  • "type": "TrustedIssuer"
}

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

TfUntpRequestList

Lists the DIDs a UNTP registrar wallet is ready to issue a Digital Identity Anchor to (POST /tf/onboard_request), until they obtain it or the request expires. Another wallet is 422.

Authorizations:
accessToken
header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

TfUntpDiaList

Lists the Digital Identity Anchors a UNTP registrar wallet issued. Another wallet is 422.

Authorizations:
accessToken
query Parameters
did
string

Only those issued to this DID.

header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

TfUntpDiaIssue

Issues a Digital Identity Anchor to a DID without the OpenID4VCI proof that the member controls it, for closed pilots: 403 unless the deployment sets untp.registrar.allowUnverifiedDidBinding. The member onboards with it (POST /tf/onboard with onboardingCredentialId, once it holds it). Another wallet than a UNTP registrar is 422.

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: application/json
required
did
required
string
required
object (UntpDiaRequest)

What a UNTP registrar anchors in the Digital Identity Anchor (UNTP 0.8.0) it issues to a DID: the recognized entity, and its registrations in the registrar's registers. Each register and recognition scope needs a name, and register.registerType and controlType are UN/CEFACT codes.

validUntil
required
string <date-time>
delivery
string
Default: "return"
Enum: "return" "offer"

return issues the DIA and returns it. offer makes the request pending and returns a pre-authorized offer of it for the DID, which the member accepts with a proof of control.

Responses

Request samples

Content type
application/json
{
  • "did": "string",
  • "dia": {
    },
  • "validUntil": "2019-08-24T14:15:22Z",
  • "delivery": "return"
}

Response samples

Content type
application/json
{
  • "credentialId": "string",
  • "credential": "string",
  • "offer": {
    }
}

TfX509CertificateListRecords

Returns the records of all X509 certificates the wallet has issued, including their current status. The list is empty when the wallet has not issued any certificate.

Authorizations:
accessToken
header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

TfX509CertificateIssue

Issues a signed X509 certificate based on the provided CSR. Used by a CA-capable wallet to sign certificate requests from other wallets, enabling them to sign credentials with X509 certificate echains and/or perform XAdES/PDF signing.

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: application/json
required
csr
required
string (Certificate signing request in PEM format)
expirationDate
required
string <date-time> (Certificate expiration date)
ca
boolean (Whether the issued certificate is CA or not)
Default: false
attachStatus
boolean (Whether a certificate status (via CRL & OCSP) is attached to the issued certificate)
Default: true
object (Certificate subject attributes replacing those of the CSR)

Replaces attributes of the CSR's subject. A given attribute replaces the CSR's; an empty string removes it; an omitted one keeps the CSR's. Attributes not listed here are always kept. The subject alternative names are always taken from the CSR.

Responses

Request samples

Content type
application/json
{
  • "csr": "string",
  • "expirationDate": "2019-08-24T14:15:22Z",
  • "ca": false,
  • "attachStatus": true,
  • "subject": {
    }
}

Response samples

Content type
application/json
{
  • "certificate": "string"
}

TfX509CertificateGetRecord

Returns a record of an issued X509 certificate

Authorizations:
accessToken
path Parameters
serial_number
required
string

Certificate serial number

header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "serialNumber": "string",
  • "organizationName": "string",
  • "country": "string",
  • "locality": "string",
  • "streetAddress": "string",
  • "postalCode": "string",
  • "organizationWebsite": "string",
  • "tradeName": "string",
  • "email": "string",
  • "uris": [
    ],
  • "certificateStatus": "valid"
}

TfX509CertificateUpdateStatus

Updates a status of an already issued X509 certificate

Authorizations:
accessToken
path Parameters
serial_number
required
string

Certificate serial number

header Parameters
wallet-id
required
string
Request Body schema: application/json
required
status
required
string (Specifies the status of an issued x509 certificate.)
Enum: "valid" "revoked_unspecified" "revoked_keyCompromise" "revoked_privilegeWithdrawn" "revoked_cessationOfOperation" "revoked_affiliationChanged" "revoked_superseded"

Responses

Request samples

Content type
application/json
{
  • "status": "valid"
}

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

WmpCreateNewInvitation

Creates a WMP (Wallet Messaging Protocol) invitation URL that can be shared with another wallet to establish a secure peer-to-peer communication channel. Issuers and verifiers use this to connect with holder wallets for direct credential delivery and verification without requiring QR codes or redirects on each interaction.

Authorizations:
accessToken
header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "invitationUrl": "string",
  • "invitationId": "string"
}

WmpAcceptInvitation

Accepts a WMP invitation URL from another wallet (issuer or verifier) to establish a peer-to-peer WMP connection. After acceptance, the connected entity appears in the WMP entity list and can send credential offers or verification requests directly to this wallet.

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: application/json
required
invitationUrl
required
string

URL of the invitation JWT

Responses

Request samples

Content type
application/json
{
  • "invitationUrl": "string"
}

Response samples

Content type
application/json
{
  • "id": "string"
}

WmpEntityList

Lists all wallets that have established a WMP connection with this wallet. Filter by entityType=server for entities that created the invitation (issuers/verifiers), entityType=client for entities that accepted it (holders), entityType=relay for the wallet's QTSP relay account, or entityType=correspondent for Subscribers reached through the relay.

Authorizations:
accessToken
query Parameters
entityType
required
string
Enum: "server" "client" "relay" "correspondent"
header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

WmpEntityGet

Get entity based on the entity ID

Authorizations:
accessToken
path Parameters
entity_id
required
string
header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "roles": [
    ],
  • "verified": true,
  • "identifiers": [
    ],
  • "via": "direct",
  • "qualified": true
}

WmpEntityDelete

Delete entity based on the entity ID

Authorizations:
accessToken
path Parameters
entity_id
required
string
header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

WmpEntityConnectionGet

Get entity connection status

Authorizations:
accessToken
path Parameters
entity_id
required
string
header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "connected": true
}

WmpEntityServerConnect

Re-establishes or confirms the connection to a WMP server entity. Used to reconnect after a dropped connection so the wallet can resume receiving pending requests.

Authorizations:
accessToken
path Parameters
entity_id
required
string
header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

WmpEntitySendMessage

Sends a free-form WMP message to a connected entity. If the session is live the message is delivered immediately (status: accepted); if the peer is disconnected but negotiated the offline capability, the message is queued and replayed once the peer reconnects or polls (status: queued, queuedUntil reports the queue deadline). Otherwise the request fails with 409/400 (see below). The peer receives a delivered message as a wmp.message notification and can then read its metadata from GET /wmp/client/requests/{request_id} and download its body via the download link it contains. This wallet's own view of the message's delivery lifecycle is available afterwards via GET /wmp/entities/{entity_id}/messages/{message_id} and the wmp.message_status notification.

The request is multipart/form-data. Supply the primary body as either the body text field (plain text) or a body file part (any content type, taken from the part).

Authorizations:
accessToken
path Parameters
entity_id
required
string
header Parameters
wallet-id
required
string
Request Body schema: multipart/form-data
required
body
required
string <binary>

The primary message body: a plain-text form value, or a file part whose Content-Type becomes the message content type.

expiresAt
string <date-time>

Per-message deadline (core §3.2). While the peer is offline the message is discarded from the queue past this time, whichever of this or the negotiated offline.ttl is sooner.

messageType
string

Free-form application-defined message type tag.

inReplyTo
string

Id of a previously received message this one replies to.

sign
boolean

Attach a non-repudiation signature (wmp.signature, core §5.4): a detached JWS over the JCS-canonicalised content, made with the wallet's key (kid of its DID, or x5c for an X.509 wallet). Not available for messages the session encrypts with MLS, nor for wallets whose key identifier is a JWK.

timestamp
boolean

Attach an RFC 3161 timestamp token (wmp.timestamp_token, core §5.5) over the same content from the configured TSA (services.wmpTsa.url); 400 when none is configured, 502 when the TSA cannot be reached.

consignmentMode
string
Enum: "basic" "consented" "consented_signed"

Registered-delivery consignment mode (WMP core §3.5, CS-15 §13); relay correspondents only. basic (default): delivery evidence only. consented: the recipient accepts or rejects. consented_signed: the decision is signed.

allowShortExpiry
boolean

Relay correspondents only: accept an expiresAt earlier than the QTSP's offline retention, which turns a slow delivery into a non-delivery (CS-15 §11.2). Without it such an expiresAt is refused with 400.

Responses

Response samples

Content type
application/json
{
  • "messageId": "string",
  • "status": "accepted",
  • "queuedUntil": "2019-08-24T14:15:22Z"
}

WmpEntityMessageDecision

Accepts or rejects a received consented / consented_signed message from a relay correspondent (CS-15 §14). The wallet answers with a processed or rejected acknowledgement, signed with the Subscriber key under consented_signed; the QTSP turns it into acceptance or rejection evidence.

Authorizations:
accessToken
path Parameters
entity_id
required
string
message_id
required
string
header Parameters
wallet-id
required
string
Request Body schema: application/json
required
accept
required
boolean
reason
string

Optional reason sent with a rejection.

Responses

Request samples

Content type
application/json
{
  • "accept": true,
  • "reason": "string"
}

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

WmpRelayGet

Returns the wallet's account at its QTSP relay (CS-15 EBW role).

Authorizations:
accessToken
header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "participantId": "string",
  • "qtspId": "string",
  • "subscriberId": "string",
  • "endpoint": "string",
  • "status": "onboarding",
  • "qualified": true,
  • "certificateNotAfter": "2019-08-24T14:15:22Z",
  • "certificateChain": "string",
  • "keyPackagesLeft": 0,
  • "keyPackagesEarliestExpiry": "2019-08-24T14:15:22Z",
  • "inboxConnected": true,
  • "registeredAt": "2019-08-24T14:15:22Z",
  • "smpUrl": "string"
}

WmpRelayDelete

Closes the relay sessions and forgets the relay account and its correspondents. The QTSP keeps the Subscriber registration and the evidence it holds.

Authorizations:
accessToken
header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "error": "string",
  • "message": "string"
}

WmpRelayOnboardingStart

Starts Subscriber onboarding at a QTSP relay (CS-15 §8): checks the QTSP's discovery document and qualified status, generates the Subscriber key and CSR and sends them to the QTSP. The returned OpenID4VP authorization request is presented with the holder endpoints (HolderPresentPassAuthInfo, HolderCredentialsPresentAfterConsent); the QTSP answers the presentation with the onboarding result, returned as response, which is then passed to WmpRelayOnboardingComplete.

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: application/json
required
qtspUrl
required
string

Base URL of the QTSP; its discovery document is at /.well-known/wmp-configuration.

subscriberId
string

The ebCore identifier to onboard as (ebcore:iso6523:<icd>:<id>). Default: the wallet's wmpParticipantId.

Responses

Request samples

Content type
application/json
{
  • "qtspUrl": "string",
  • "subscriberId": "string"
}

Response samples

Content type
application/json
{
  • "onboardingId": "string",
  • "authorizationRequest": "string"
}

WmpRelayOnboardingComplete

Completes onboarding with the onboarding result the QTSP answered the presentation with (CS-15 §8.5): the response of HolderCredentialsPresentAfterConsent, as is. Checks that the certificate names the Subscriber and chains to the Subscriber CAs, stores it, connects the inbox session and publishes KeyPackages.

Authorizations:
accessToken
path Parameters
onboarding_id
required
string
header Parameters
wallet-id
required
string
Request Body schema: application/json
required
subscriber_id
string

The registered ebCore identifier; it must be the one onboarding started for.

certificate
required
string

PEM Subscriber certificate.

certificate_chain
Array of strings

PEM CA certificates of the Subscriber certificate, issuer first.

smp_url
string

The Subscriber's SMP record.

registered_at
string

When the Subscriber was registered (RFC 3339).

Responses

Request samples

Content type
application/json
{
  • "subscriber_id": "string",
  • "certificate": "string",
  • "certificate_chain": [
    ],
  • "smp_url": "string",
  • "registered_at": "string"
}

Response samples

Content type
application/json
{
  • "participantId": "string",
  • "qtspId": "string",
  • "subscriberId": "string",
  • "endpoint": "string",
  • "status": "onboarding",
  • "qualified": true,
  • "certificateNotAfter": "2019-08-24T14:15:22Z",
  • "certificateChain": "string",
  • "keyPackagesLeft": 0,
  • "keyPackagesEarliestExpiry": "2019-08-24T14:15:22Z",
  • "inboxConnected": true,
  • "registeredAt": "2019-08-24T14:15:22Z",
  • "smpUrl": "string"
}

WmpRelayRegistrationStart

Starts a manual Subscriber registration, for a QTSP without the onboarding API (CS-15 §8.1): checks the QTSP's discovery document and qualified status and generates the Subscriber key. The returned CSR is given to the QTSP by other means; then upload the certificate it issued with POST /wmp/relay/registration/certificate. A pending onboarding or registration is replaced.

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: application/json
required
qtspUrl
required
string

Base URL of the QTSP; its discovery document is at /.well-known/wmp-configuration.

subscriberId
string

The ebCore identifier to onboard as (ebcore:iso6523:<icd>:<id>). Default: the wallet's wmpParticipantId.

Responses

Request samples

Content type
application/json
{
  • "qtspUrl": "string",
  • "subscriberId": "string"
}

Response samples

Content type
application/json
{
  • "subscriberId": "string",
  • "csr": "string"
}

WmpRelayRegistrationComplete

Completes a manual registration with the certificate the QTSP issued for the CSR: stores it, connects the inbox session and publishes KeyPackages. The certificate must name the Subscriber, certify the CSR's key and chain to the Subscriber CAs (wmpRelay.subscriberTrustAnchors, or the uploaded chain's own CAs).

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: application/json
required
certificate
required
string

PEM bundle of the issued Subscriber certificate followed by its CA chain.

Responses

Request samples

Content type
application/json
{
  • "certificate": "string"
}

Response samples

Content type
application/json
{
  • "participantId": "string",
  • "qtspId": "string",
  • "subscriberId": "string",
  • "endpoint": "string",
  • "status": "onboarding",
  • "qualified": true,
  • "certificateNotAfter": "2019-08-24T14:15:22Z",
  • "certificateChain": "string",
  • "keyPackagesLeft": 0,
  • "keyPackagesEarliestExpiry": "2019-08-24T14:15:22Z",
  • "inboxConnected": true,
  • "registeredAt": "2019-08-24T14:15:22Z",
  • "smpUrl": "string"
}

WmpRelayRotate

Rotates the Subscriber key and certificate over mutual TLS (CS-15 §8.6) and republishes KeyPackages. Existing correspondent groups move to the new certificate on their next message.

Authorizations:
accessToken
header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "participantId": "string",
  • "qtspId": "string",
  • "subscriberId": "string",
  • "endpoint": "string",
  • "status": "onboarding",
  • "qualified": true,
  • "certificateNotAfter": "2019-08-24T14:15:22Z",
  • "certificateChain": "string",
  • "keyPackagesLeft": 0,
  • "keyPackagesEarliestExpiry": "2019-08-24T14:15:22Z",
  • "inboxConnected": true,
  • "registeredAt": "2019-08-24T14:15:22Z",
  • "smpUrl": "string"
}

WmpRelayCorrespondentConnect

Connects to another Subscriber through the QTSP (CS-15 §7.3, §10.4): resolves the participant and one of its KeyPackages, validates its credential and sets up the dedicated relay session and MLS group. Messages are then sent with POST /wmp/entities/{entity_id}/messages.

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: application/json
required
participantId
required
string

The correspondent's ebCore identifier.

force
boolean

Connect even when the QTSP reports the participant as not QERDS-capable.

credentialId
string

The wallet's EBWOID credential. The wallet presents it to the correspondent as an identity assertion on its first wmp.message.deliver (CS-15 §13); a different one is presented again on the next message. Omitted: the one given on an earlier connect is kept, if any. Empty: no identity assertion is sent. A credential that cannot be presented fails the message until another one, or an empty one, is given.

Responses

Request samples

Content type
application/json
{
  • "participantId": "string",
  • "force": true,
  • "credentialId": "string"
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "name": "string",
  • "roles": [
    ],
  • "verified": true,
  • "identifiers": [
    ],
  • "via": "direct",
  • "qualified": true
}

WmpEntityGetMessageHistory

Returns this wallet's own delivery-lifecycle record for a message it previously sent via POST /wmp/entities/{entity_id}/messages.

Authorizations:
accessToken
path Parameters
entity_id
required
string
message_id
required
string
header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "messageId": "string",
  • "entityId": "string",
  • "method": "string",
  • "contentType": "string",
  • "status": "string",
  • "sentAt": "2019-08-24T14:15:22Z",
  • "expiresAt": "2019-08-24T14:15:22Z",
  • "lastUpdate": "2019-08-24T14:15:22Z"
}

WmpEntityListMessageHistory

Lists this wallet's own delivery-lifecycle records (core §5.3.1/§5.3) for every message it has sent to entityId, across every session, ordered by sentAt.

Authorizations:
accessToken
path Parameters
entity_id
required
string
query Parameters
limit
integer

The number of items

nextMarker
string

Marking the next set of items

sort
string (ListSort)
Enum: "asc" "desc"

Sort flag controls the sort direction by sentAt

header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "list": [
    ],
}

WmpClientGetPendingRequests Deprecated

Not implemented: always answers 501. Received requests arrive as wallet notifications; read one with GET /wmp/client/requests/{request_id}.

Authorizations:
accessToken
header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
[
  • {
    }
]

WmpClientGetRequest

Returns metadata for the received message identified by request_id (delivered via a wmp.message notification carrying its id): its content type and body download link. The body is fetched as raw bytes from the download link included in the response (bodyUrl).

Authorizations:
accessToken
path Parameters
request_id
required
string
header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "from": "string",
  • "contentType": "string",
  • "bodyUrl": "string",
  • "messageType": "string",
  • "inReplyTo": "string",
  • "replyTo": "string"
}

WmpClientProcessRequest

Acts on a pending WMP client request identified by request_id. The body's type selects the action: process_offer a pending credential offer or process_verification_request a pending verification request (either returns its authorization requirements), identity_assertion to present a credential as the session identity assertion, authenticate to open the session after the assertion exchange, or ack_read/ack_processed to acknowledge a received message as read or fully processed (sends a wmp.message.ack, core §5.3, to the original sender), or accept/reject to accept or refuse the content of a received message (on a session that negotiated the evidence capability, sends acceptance_confirmed/acceptance_rejected evidence to the original sender, WMP evidence §3.5).

Authorizations:
accessToken
path Parameters
request_id
required
string
header Parameters
wallet-id
required
string
Request Body schema: application/json
required
type
required
string

Responses

Request samples

Content type
application/json
Example
{
  • "type": "process_offer"
}

Response samples

Content type
application/json
{
  • "requirementType": "none",
  • "authnUrl": "string",
  • "presentationDefinition": {
    },
  • "dcqlQuery": {
    },
  • "presentationCandidates": [
    ],
  • "interactionId": "string",
  • "offeredCredentialsTypes": [
    ],
  • "issuerUrl": "string",
  • "issuerDisplay": [
    ],
  • "autoAccepted": true,
  • "transactionData": [
    ]
}

WmpEvidenceList

Searches this wallet's evidence repository (WMP evidence §6.1): the evidence it issued and the evidence its peers sent it. Either message_id or session_id is required. Records are ordered by event time; a search by session is paginated with limit and continuation_token.

Authorizations:
accessToken
query Parameters
message_id
string

Lists the evidence about this message (the original_message_id).

session_id
string

Lists the evidence of this session, oldest event first, in pages.

since
string <date-time>

With session_id, only evidence whose event time is at or after this time.

until
string <date-time>

With session_id, only evidence whose event time is before this time.

continuation_token
string

With session_id, the continuation_token of the previous page.

limit
integer

With session_id, the maximum number of records of a page.

header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "evidence_records": [
    ],
  • "total_count": 0,
  • "continuation_token": "string"
}

WmpEvidenceGet

Returns one record of this wallet's evidence repository (WMP evidence §6.1).

Authorizations:
accessToken
path Parameters
evidence_id
required
string
header Parameters
wallet-id
required
string

Responses

Response samples

Content type
application/json
{
  • "evidence_id": "string",
  • "event_type": "string",
  • "event_time": "2019-08-24T14:15:22Z",
  • "original_message_id": "string",
  • "original_content_hash": {
    },
  • "signed_evidence": "string",
  • "timestamp_token": "string",
  • "evidence": { },
  • "direction": "issued",
  • "session_id": "string",
  • "entity_id": "string",
  • "issuer": "string",
  • "verification": {
    },
  • "ack_status": "string",
  • "ack_at": "2019-08-24T14:15:22Z",
  • "retain_until": "2019-08-24T14:15:22Z"
}

WmpEvidenceVerify

Verifies the params of a wmp.evidence.notify (WMP evidence §4.1), independently of any session: the signature and its x5c chain, the timestamp token and, when the evidence is about a message this wallet sent, the content hash. Nothing is stored.

Authorizations:
accessToken
header Parameters
wallet-id
required
string
Request Body schema: application/json
required
property name*
additional property
any

Responses

Request samples

Content type
application/json
{ }

Response samples

Content type
application/json
{
  • "valid": true,
  • "evidence_id": "string",
  • "event_type": "string",
  • "original_message_id": "string",
  • "signature": {
    },
  • "timestamp": {
    },
  • "content_hash": {
    },
  • "errors": [
    ]
}