Wallet

Get credential endpoint

Request issuance of a credential

post/credentials

Request body

format'jwt_vc_json' | 'jwt_vc' | 'ldp_vc' | 'jwt_vc_json-ld' | 'dc+sd-jwt' | 'mso_mdoc' required

Format of the requested credential

credential_identifierstring

Identifier of the credential configuration to be issued

Example request

{
  "format": "jwt_vc_json",
  "credential_identifier": "UniversityDegree_JWT",
  "proof": {
    "proof_type": "jwt",
    "jwt": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9..."
  },
  "credential_response_encryption": {
    "jwk": {
      "kty": "EC",
      "crv": "P-256",
      "x": "...",
      "y": "..."
    },
    "alg": "ES256",
    "enc": "A256GCM"
  }
}

Response

Successful response with issued credential

format'jwt_vc_json' | 'jwt_vc' | 'ldp_vc' | 'jwt_vc_json-ld' | 'dc+sd-jwt' | 'mso_mdoc'

Format of the issued credential

c_noncestring

Nonce for subsequent credential requests

c_nonce_expires_innumber

Expiration time of the c_nonce in seconds

Example response

{
  "format": "jwt_vc_json",
  "c_nonce": "b326c4ab-16f1-4304-83e1-4637f8fe4207",
  "c_nonce_expires_in": 300
}

Changes