Create a Verifiable Credential
PUT/:ssiId/ssi/v1/credentialsbbs
Create a signed verifiable credential, without starting the WACI-DIDComm flow
Request
Path Parameters
ssiId stringrequired
Query Parameters
apikey stringrequired
- application/json
Body
required
did stringrequired
Issuer DID
oneTimeUse booleanrequired
If true, this QR can be scan one time only
to stringrequired
Holder DID if you know
vc objectrequired
outputDescriptor objectrequired
Output descriptor for this credential
inputDescriptors string[]required
Input descriptor required to generate this credential
issuer objectrequired
Issuer metadata
Responses
- 200
Return signed verifiable credential (with proofs)
- application/json
- Schema
- Example (from schema)
Schema
vc objectrequired
outputDescriptor objectrequired
Output descriptor used for render
issuer objectrequired
Issuer info
{
"vc": {},
"outputDescriptor": {
"id": "string",
"schema": "string",
"display": {
"title": {
"path": [
"string"
],
"fallback": "string"
},
"subtitle": {
"path": [
"string"
],
"fallback": "string"
},
"description": {
"text": "string"
}
},
"styles": {
"background": {
"color": "string"
},
"thumbnail": {
"uri": "string",
"alt": "string"
},
"hero": {
"uri": "string",
"alt": "string"
},
"text": {
"color": "string"
}
}
},
"issuer": {
"name": "string",
"styles": {
"thumbnail": {
"uri": "string",
"alt": "string"
},
"hero": {
"uri": "string",
"alt": "string"
},
"background": {
"color": "string"
},
"text": {
"color": "string"
}
}
}
}
Loading...