v1

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

Create an OpenID4VC issuance session by creating a credential offer

post/openid4vc/issuers/sessions/create-offer

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

baseUristring

baseUri for the credential offer uri. By default openid-credential-offer:// will be used if no value is provided. If a value is provided, make sure it contains the scheme as well as ://.

issuanceMetadataRecordStringUnknown

Construct a type with a set of properties K of type T

publicIssuerIdstring required

The public issuer id, used for hosting OpenID4VCI metadata and endpoints

Example request

{
  "publicIssuerId": "a868257d-7149-4d4d-a52c-78f3197ee538",
  "preAuthorizedCodeFlowConfig": {
    "userPinRequired": false
  },
  "credentials": [
    {
      "credentialSupportedId": "ExampleCredentialSdJwtVc",
      "format": "vc+sd-jwt",
      "issuer": {
        "method": "did",
        "didUrl": "did:key:z6MkgViwfstCL1L9i8tgsdAYEu5A62W5mA9DcmSygVVVLFuU#z6MkgViwfstCL1L9i8tgsdAYEu5A62W5mA9DcmSygVVVLFuU"
      },
      "payload": {
        "first_name": "John",
        "last_name": "Doe",
        "age": {
          "over_18": true,
          "over_21": true,
          "over_65": false
        }
      },
      "disclosureFrame": {
        "first_name": false,
        "last_name": false,
        "age": {
          "over_18": true,
          "over_21": true,
          "over_65": true
        }
      }
    }
  ]
}

Response

Ok

credentialOfferstring required