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"
}

Changes

Changed in 2 of the 5 revisions of this API.468

  • bc177bfc5928356See the full diff
    • the request property credential_response_encryption/alg became required

      request-property-became-required

    • the request property credential_response_encryption/enc became required

      request-property-became-required

    • the request property credential_response_encryption/jwk became required

      request-property-became-required

    • removed the request property format

      request-property-removed

    • removed the optional property c_nonce from the response with the 200 status

      response-optional-property-removed

    • removed the optional property c_nonce_expires_in from the response with the 200 status

      response-optional-property-removed

    • removed the optional property credential from the response with the 200 status

      response-optional-property-removed

    • removed the optional property format from the response with the 200 status

      response-optional-property-removed

    • added the new optional request property credential_configuration_id

      new-optional-request-property

    • added the new optional request property issuer_state

      new-optional-request-property

    • added the new optional request property proofs

      new-optional-request-property

    • added the optional property credentials to the response with the 200 status

      response-optional-property-added

    • added the optional property notification_id to the response with the 200 status

      response-optional-property-added

    • added the optional property transaction_id to the response with the 200 status

      response-optional-property-added

  • ccca87b4e0bf112See the full diff
    • removed the enum value vc+sd-jwt of the request property format

      request-property-enum-value-removed

    • added the new dc+sd-jwt enum value to the format response property for the response status 200

      response-property-enum-value-added

    • added the new dc+sd-jwt enum value to the request property format

      request-property-enum-value-added

    • removed the vc+sd-jwt enum value from the format response property for the response status 200

      response-property-enum-value-removed