Verifies a given verifiable credential
PUT/:ssiId/ssi/v1/credentialsbbs/verifier
This endpoint will pass the verifiable credential. If the credential verifies successfully, the result will be true. This indicates that the resolver resolved the issuer's DID Document and performed cryptographic verifications. If any changes were made to the credential and we proceed to verify, the response will be false. This indicates that the credential was altered, therefore failing the verification processes. Levels of verification:
1. Makes sure the credential has a valid signature
2. Makes sure the credential has is not expired
3. Makes sure the credential complies with the VC Data Model v1.1
4. If the credential has a schema, makes sure its data complies with the schema
Request
Path Parameters
ssiId stringrequired
Query Parameters
apikey stringrequired
- application/json
Body
required
Verifiable credential to verify
vc objectrequired
Responses
- 200
Verification result
- application/json
- Schema
- Example (from schema)
Schema
- any
{
"verified": true
}
Loading...