If set to true the verification will also check the status of the credential. Requires the VC to have a credentialStatus property.
falseWhen dealing with JSON-LD you also MUST provide the proper contexts. Set this to true ONLY if you want the @context URLs to be fetched in case they are a custom context.
falseIf set to true allow to verify credential which based on deactivated DID.
falseVerifiable Credential to be verified as a VC-JWT string or a JSON object.
Policy to skip the issuanceDate (nbf) timestamp check when set to false.
truePolicy to skip the expirationDate (exp) timestamp check when set to false.
truePolicy to skip the audience check when set to false.
falsePolicy to also check other providers when set to true.
falseThe request was successful.
A problem with the input fields has occurred. Additional state information plus metadata may be available in the response body.
No content
Access token is missing or invalid
No content
An internal error has occurred. Additional state information plus metadata may be available in the response body.
No content
POST /credential/verify HTTP/1.1
Host: studio-api.cheqd.net
x-api-key: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 119
"credential={}&policies={'issuanceDate':true,'expirationDate':true,'audience':false,'checkExternalProvider':false}"{
"verified": true,
"polices": {},
"issuer": "did:cheqd:testnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0",
"signer": {
"controller": "did:cheqd:testnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0",
"id": "did:cheqd:testnet:7bf81a20-633c-4cc7-bc4a-5a45801005e0#key-1",
"publicKeyBase58": "BTJiso1S4iSiReP6wGksSneGfiKHxz9SYcm2KknpqBJt",
"type": "Ed25519VerificationKey2018"
}
}