v1

latestOpenAPI 3.0.0Apache-2.02026-07-1767300384.3 KB
OpenID4VC Verification Sessions

Create an OpenID4VC verification session by creating a authorization request

post/openid4vc/verifiers/sessions/create-request

Headers

x-tenant-idstring

Optional header to set the context to a specific tenant. Only needed when the --multi-tenant feature is enabled. Default value is 'default'

Request body

publicVerifierIdstring required

The public verifier id, used for hosting SIOP / OAuth2 endpoints and metadata

Example request

{
  "publicVerifierId": "1ab30c0e-1adb-4f01-90e8-cfd425c0a311",
  "requestSigner": {
    "method": "did",
    "didUrl": "did:key:z6MkgViwfstCL1L9i8tgsdAYEu5A62W5mA9DcmSygVVVLFuU#z6MkgViwfstCL1L9i8tgsdAYEu5A62W5mA9DcmSygVVVLFuU"
  },
  "presentationExchange": {
    "definition": {
      "id": "73797b0c-dae6-46a7-9700-7850855fee22",
      "name": "Example Presentation Definition",
      "input_descriptors": [
        {
          "id": "64125742-8b6c-422e-82cd-1beb5123ee8f",
          "constraints": {
            "limit_disclosure": "required",
            "fields": [
              {
                "path": [
                  "$.age.over_18"
                ],
                "filter": {
                  "type": "boolean"
                }
              }
            ]
          },
          "name": "Requested Sd Jwt Example Credential",
          "purpose": "To provide an example of requesting a credential"
        }
      ]
    }
  }
}

Response

Ok

authorizationRequeststring required