Get credential endpoint
Request issuance of a credential
Request body
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
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
- ▲
the request property
credential_response_encryption/algbecame requiredrequest-property-became-required
- ▲
the request property
credential_response_encryption/encbecame requiredrequest-property-became-required
- ▲
the request property
credential_response_encryption/jwkbecame requiredrequest-property-became-required
- ●
removed the request property
formatrequest-property-removed
- ●
removed the optional property
c_noncefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
c_nonce_expires_infrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
credentialfrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
formatfrom the response with the200statusresponse-optional-property-removed
- ○
added the new optional request property
credential_configuration_idnew-optional-request-property
- ○
added the new optional request property
issuer_statenew-optional-request-property
- ○
added the new optional request property
proofsnew-optional-request-property
- ○
added the optional property
credentialsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
notification_idto the response with the200statusresponse-optional-property-added
- ○
added the optional property
transaction_idto the response with the200statusresponse-optional-property-added
- ▲
- ▲
removed the enum value
vc+sd-jwtof the request propertyformatrequest-property-enum-value-removed
- ●
added the new
dc+sd-jwtenum value to theformatresponse property for the response status200response-property-enum-value-added
- ○
added the new
dc+sd-jwtenum value to the request propertyformatrequest-property-enum-value-added
- ○
removed the
vc+sd-jwtenum value from theformatresponse property for the response status200response-property-enum-value-removed
- ▲