Users are able to issue Verifiable Accreditations to determine the validity of the accreditation, as well to traverse the trust chain to a root of trust.
Make sure you have already created at least one Verifiable Accreditation that you are able to query in the verify API.
Issue Verifiable Accreditation
Issue a Verifiable Accreditation as a DID-Linked Resource from an "issuer" DID to a recipient "subject" DID.
Generate and publish a Verifiable Accreditation for a subject DID as a DID Linked resource.
If set to true
the verification will also check the status of the accreditation. Requires the VC to have a credentialStatus
property.
If set to true
allow to verify accreditation which based on deactivated DID.
DID of the Verifiable Accreditation holder/subject. This needs to be a did:key
DID.
"did:cheqd:testnet:5efa5126-c070-420f-a9c2-d22ae6eefb92"
DID URL of the Verifiable Accreditation to be verified as a VC-JWT string or a JSON object.
"did:cheqd:testnet:7c2b990c-3d05-4ebf-91af-f4f4d0091d2e?resourceName=cheqd-issuer-logo&resourceType=CredentialArtwork"
DID of the Verifiable Accreditation holder/subject
"did:cheqd:testnet:7c2b990c-3d05-4ebf-91af-f4f4d0091d2e"
Unique resource identifier of the Verifiable Accreditation
"398cee0a-efac-4643-9f4c-74c48c72a14b"
Resource name of the Verifiable Accreditation
"cheqd-issuer-logo"
Resource type of the Verifiable Accreditation
"CredentialArtwork"
The list of schemas the subject DID is accredited for.
Custom verification policies to execute when verifying Accreditation.
Policy to skip the issuanceDate
(nbf
) timestamp check when set to false
.
Policy to skip the expirationDate
(exp
) timestamp check when set to false
.
Policy to skip the audience check when set to false
.
The request was successful.
"2023-06-08T13:49:28.000Z"
"did:cheqd:testnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0"
"did:key:z6MkhaXgBZDvotDkL5257faiztiGiC2QtKLGpbnnEGta2doK"
"https://resolver.cheqd.net/1.0/identifiers/did:cheqd:testnet:7c2b990c-3d05-4ebf-91af-f4f4d0091d2e?resourceName=cheqd-suspension-1&resourceType=StatusList2021Suspension#20"
20
"suspension"
"2023-06-08T13:49:28.000Z"