Credentials
Create Credential
Changed onCreates a credential for the provided identity.
post/v2/identities/{identifier}/credentials
Request
- The document declares no server URL.
- AuthHTTP basic
Path parameters
identifierstring required
Issuer identifier
Request body
Example request
{
"credentialSchema": "https://raw.githubusercontent.com/iden3/claim-schema-vocab/main/schemas/json/KYCAgeCredential-v3.json",
"type": "KYCAgeCredential",
"credentialSubject": {
"id": "fill with did",
"birthday": 19960424,
"documentType": 2
},
"expiration": 1903357766
}Response
Credential Created
Changes
- info
added the new optional request property
- info
- breaking
removed the enum value
Iden3BasicDisplayMethodv2of the request property/ - info
added the new
Iden3BasicDisplayMethodV1enum value to the request property/
- breaking