create VP
POST/api/gemini/v1/credentials/vp
create a Verifiable Presentation, the holder must be provided as did or as alias
Request
- application/json
Body
required
holderAlias string
holderDid string
hash stringrequired
Responses
- 201
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD2
- MOD4
Array [
]
Array [
]
Array [
- MOD1
- MOD2
Array [
- MOD1
- MOD2
- MOD4
Array [
]
Array [
]
- MOD1
- MOD1
- MOD2
Array [
]
]
]
- MOD1
- MOD2
Array [
]
@context
object
required
oneOf
string
string
object
holder stringrequired
verifiableCredential
object[]
oneOf
@context
object
required
oneOf
string
string
object
issuanceDate stringrequired
issuer
object
required
oneOf
string
credentialSubject
object
required
id string
type
object
oneOf
string
string
expirationDate string
credentialStatus
object
id stringrequired
type stringrequired
id string
proof
object
required
type string
string
type
object
oneOf
string
string
verifier string[]
issuanceDate string
expirationDate string
id string
proof
object
required
type string
{
"@context": "string",
"holder": "string",
"verifiableCredential": [
[
null
],
"string"
],
"type": "string",
"verifier": [
"string"
],
"issuanceDate": "string",
"expirationDate": "string",
"id": "string",
"proof": {
"type": "string"
}
}
Loading...