Issue credential
POST/digital-wallet/credential/issue
This endpoint is used send holder a credential offer, independent of any proposal
Request
- application/json
Body
- Array [
- ]
Whether to respond automatically to credential requests, creating and issuing requested credentials
Whether to remove the credential exchange record on completion (overrides --preserve-exchange-records configuration setting)
Human-readable comment
Connection identifier
Credential definition identifier
credentialPreview object
Credential preview
Message type identifier
attributes object[]required
MIME type
Attribute name
Attribute value
Data agreement identifier
Whether to trace event (default false)
Responses
- 200
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
- Array [
- ]
credentialHistory object
unique identifier
Issuer choice to issue to request in this credential exchange
Holder choice to accept offer in this credential exchange
Issuer choice to remove this credential exchange record when complete
Connection identifier
Time of record creation
credential object
Credential as stored
Schema identifier
Credential definition identifier
Revocation registry identifier
values object
Attribute values
signature object
pCredential object
signatureCorrectnessProof object
Revocation registry
Witness
Credential definition identifier
Credential exchange identifier
Credential identifier
credentialOffer object
Indy credential offer
Schema identifier
Credential definition identifier
keyCorrectnessProof object
Nonce
credentialOfferDict object
Serialized credential offer message
Type of the credential offer
Identifier for the credential offer
~thread object
Thread information
Thread information
~dataAgreementContext object
Type of the data agreement context message
message object
Type of the message
Identifier for the message
Sender of the message
Receiver of the message
Time when the message was created
body object
Body of the message
Context information
Identifier for the data agreement template
Version of the data agreement template
Name of the data controller
URL of the data controller
Purpose of data processing
Description of the purpose
Legal basis for data processing
Method of data use
dataPolicy object
Data policy information
Data retention period in days
URL to the data policy
Jurisdiction information
Industry sector information
Geographic restriction details
Storage location details
Indicates whether third-party data sharing is allowed
personalData object[]
List of personal data items
Identifier for the attribute
Name of the attribute
Description of the attribute
Category of the attribute
Indicates whether the attribute is sensitive
dpia object
Data Protection Impact Assessment (DPIA) information
Date of the DPIA (Data Protection Impact Assessment)
URL to the summary of the DPIA
event object
Data agreement event information
Decentralized Identifier (DID)
Identifier for the event
State of the event
Timestamp of the event
proofChain object[]
List of proof chain items
Identifier for the proof
Type of the proof
Timestamp indicating when the proof was created
Verification method used for the proof
Purpose of the proof
Value of the proof
DID (Decentralized Identifier) of the data subject
offersAttach object[]
List of offers attached
Identifier for the attachment
MIME type of the attachment
data object
Base64-encoded data
credentialPreview object
Credential preview information
Type of the credential preview
attributes object[]
List of attributes in the credential preview
Comment associated with the credential offer
credentialProposalDict object
Serialized credential proposal message
Type of the credential proposal response
Identifier for the credential proposal response
credentialProposal object
Credential proposal information
Type of the credential proposal
attributes object[]
List of attributes in the credential proposal
Name of the attribute
Value of the attribute
Comment associated with the credential proposal response
Credential definition identifier
credentialRequest object
Indy credential request
Prover's DID
Credential definition identifier
blindedMs object
Blinded master secret information
Blinded master secret U
Ur
List of hidden attributes
Committed attributes
blindedMsCorrectnessProof object
Correctness proof for blinded master secret
Correctness proof C
VDashCap
mCaps object
Map of MCaps
RCaps
Nonce
Indy credential request metadata
dataAgreement object
Data agreement associated with the credential exchange
Context information
Identifier for the data agreement template
Version of the data agreement template
Name of the data controller
URL of the data controller
Purpose of data processing
Description of the purpose
Legal basis for data processing
Method of data use
dataPolicy object
Data policy information
Data retention period in days
URL to the data policy
Jurisdiction information
Industry sector information
Geographic restriction details
Storage location details
Indicates whether third-party data sharing is allowed
personalData object[]
List of personal data items
Identifier for the attribute
Name of the attribute
Description of the attribute
Category of the attribute
Indicates whether the attribute is sensitive
dpia object
Data Protection Impact Assessment (DPIA) information
Date of the DPIA (Data Protection Impact Assessment)
URL to the summary of the DPIA
event object
Data agreement event information
Decentralized Identifier (DID)
Identifier for the event
State of the event
Timestamp of the event
proofChain object[]
List of proof chain items
Identifier for the proof
Type of the proof
Timestamp indicating when the proof was created
Verification method used for the proof
Purpose of the proof
Value of the proof
DID (Decentralized Identifier) of the data subject
Data agreement identifier
Data agreement problem report
Data agreement status
Data agreement template identifier
Error message
Possible values: [self
, external
]
Issue-credential exchange initiator: self or external
Parent thread identifier
Raw credential
Revocation registry identifier
Credential identifier within revocation registry
Possible values: [holder
, issuer
]
Issue-credential exchange role: holder or issuer
Schema identifier
Issue-credential exchange state
Thread identifier
Record trace information, based on agent configuration
Time of last record update
{
"credentialHistory": {
"id": "string",
"autoIssue": false,
"autoOffer": false,
"autoRemove": false,
"connectionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"createdAt": "2024-02-28 07:03:35Z",
"credential": {
"schemaId": "string",
"credDefId": "string",
"revRegId": "string",
"values": {
"raw": "string",
"encoded": "string"
},
"signature": {
"pCredential": {
"m2": "string",
"a": "string",
"e": "string",
"v": "string"
},
"rCredential": {}
},
"signatureCorrectnessProof": {
"se": "string",
"c": "string"
},
"revReg": {},
"witness": {}
},
"credentialDefinitionId": "WgWxqztrNooG92RXvxSTWv:3:CL:20:tag",
"credentialExchangeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"credentialId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"credentialOffer": {
"schemaId": "string",
"credDefId": "string",
"keyCorrectnessProof": {
"c": "string",
"xzCap": "string",
"xrCap": "string"
},
"nonce": "string"
},
"credentialOfferDict": {
"@type": "string",
"@id": "string",
"~thread": {},
"~dataAgreementContext": {
"messageType": "string",
"message": {
"@type": "string",
"@id": "string",
"from": "string",
"to": "string",
"createdTime": "string",
"body": {
"context": [
"string"
],
"templateId": "string",
"templateVersion": 0,
"dataControllerName": "string",
"dataControllerUrl": "string",
"purpose": "string",
"purposeDescription": "string",
"lawfulBasis": "string",
"methodOfUse": "string",
"dataPolicy": {
"dataRetentionPeriod": 0,
"policyUrl": "string",
"jurisdiction": "string",
"industrySector": "string",
"geographicRestriction": "string",
"storageLocation": "string",
"thirdPartyDataSharing": true
},
"personalData": [
{
"AttributeId": "string",
"AttributeName": "string",
"AttributeDescription": "string",
"AttributeCategory": "string",
"AttributeSensitive": true
}
],
"dpia": {
"DpiaDate": "string",
"DpiaSummaryUrl": "string"
},
"event": {
"Did": "string",
"Id": "string",
"State": "string",
"TimeStamp": "string"
},
"proofChain": [
{
"Id": "string",
"Type": "string",
"Created": "string",
"VerificationMethod": "string",
"ProofPurpose": "string",
"ProofValue": "string"
}
],
"dataSubjectDid": "string"
}
}
},
"offersAttach": [
{
"@id": "string",
"mimeType": "string",
"data": {
"base64": "string"
}
}
],
"credentialPreview": {
"@type": "string",
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"comment": "string"
},
"credentialProposalDict": {
"@type": "string",
"@id": "string",
"credentialProposal": {
"type": "string",
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"comment": "string",
"credDefId": "string"
},
"credentialRequest": {
"proverDid": "string",
"credDefId": "string",
"blindedMs": {
"u": "string",
"ur": {},
"hiddenAttributes": [
"string"
],
"committedAttributes": {}
},
"blindedMsCorrectnessProof": {
"c": "string",
"vDashCap": "string",
"mCaps": {},
"rCaps": {}
},
"nonce": "string"
},
"credentialRequestMetadata": {},
"dataAgreement": {
"context": [
"string"
],
"templateId": "string",
"templateVersion": 0,
"dataControllerName": "string",
"dataControllerUrl": "string",
"purpose": "string",
"purposeDescription": "string",
"lawfulBasis": "string",
"methodOfUse": "string",
"dataPolicy": {
"dataRetentionPeriod": 0,
"policyUrl": "string",
"jurisdiction": "string",
"industrySector": "string",
"geographicRestriction": "string",
"storageLocation": "string",
"thirdPartyDataSharing": true
},
"personalData": [
{
"AttributeId": "string",
"AttributeName": "string",
"AttributeDescription": "string",
"AttributeCategory": "string",
"AttributeSensitive": true
}
],
"dpia": {
"DpiaDate": "string",
"DpiaSummaryUrl": "string"
},
"event": {
"Did": "string",
"Id": "string",
"State": "string",
"TimeStamp": "string"
},
"proofChain": [
{
"Id": "string",
"Type": "string",
"Created": "string",
"VerificationMethod": "string",
"ProofPurpose": "string",
"ProofValue": "string"
}
],
"dataSubjectDid": "string"
},
"dataAgreementId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"dataAgreementProblemReport": {},
"dataAgreementStatus": "offer",
"dataAgreementTemplateId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"errorMsg": "credential definition identifier is not set in proposal",
"initiator": "self",
"parentThreadId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"rawCredential": {},
"revocRegId": "string",
"revocationId": "string",
"role": "issuer",
"schemaId": "WgWxqztrNooG92RXvxSTWv:2:schema_name:1.0",
"state": "credential_acked",
"threadId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"trace": true,
"updatedAt": "2024-02-28 07:03:35Z"
}
}