v5

latestOpenAPI 3.0.0raw.githubusercontent.com2025-09-30102742.8 KB
Wallet

Get credential endpoint

Request issuance of a credential

post/credentials

Request body

credential_identifierstring

REQUIRED when authorization_details was returned from Token Response. Identifies a Credential Dataset for issuance. MUST NOT be present with credential_configuration_id.

credential_configuration_idstring

REQUIRED if credential_identifier was not returned. String identifying a key in credential_configurations_supported. MUST NOT be present with credential_identifier.

issuer_statestring

OPTIONAL. Issuer state for external AS integration without nonces

Example request

{
  "credential_identifier": "credential-dataset-123",
  "credential_configuration_id": "UniversityDegree_JWT",
  "proof": {
    "proof_type": "jwt",
    "jwt": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9..."
  },
  "proofs": {
    "jwt": [
      "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9...",
      "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9..."
    ]
  },
  "credential_response_encryption": {
    "alg": "ECDH-ES",
    "enc": "A256GCM"
  }
}

Response

Successful response with issued credential

transaction_idstring

Identifier for deferred issuance. MUST NOT be present if credentials is present.

notification_idstring

Identifier for notification requests

Example response

{
  "credentials": [
    {
      "credential": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9..."
    }
  ],
  "transaction_id": "txn-12345",
  "notification_id": "notif-67890"
}