Skip to content

createCredentialConfiguration

POST
/credential-configuration/create

Create a credential configuration

Create a credential configuration

CredentialConfiguration
object
format
string
Example
jwt_vc_json-ld
credential_definition
CredentialDefinition
object
@context
Array<string>
Example
[
"https://www.w3.org/2018/credentials/v1",
"https://www.w3.org/2018/credentials/examples/v1"
]
type
Array<string>
Example
[
"VerifiableCredential",
"StudentId"
]
display
CredentialConfigurationDisplay

Display properties of a credential.

object
name
string
Example
Passport
description
string
Example
This is a Passport
background_color
string
Example
#FFFFFF
text_color
string
Example
#000000
background_image
object
uri

Either a URI that where the background image can be fetched or a data URI containing the image.

string
Example
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==

The credential configuration was created

Response

A jakarta response object

object