Download OpenAPI specification:Download
zkTLS-based credential verification API for pension administration.
Creates a new credential verification request and returns QR code data. Used by admin portal to request credentials from users.
| holder_did required | string DID of the credential holder |
| required_claims required | Array of strings non-empty List of required credential types |
| verification_id | string <uuid> Optional verification workflow ID |
| expires_in_minutes | integer [ 1 .. 1440 ] Default: 15 Request expiration time in minutes |
{- "holder_did": "string",
- "required_claims": [
- "string"
], - "verification_id": "5bcbf7ac-c998-46ce-aa6e-a0c1a3f1f5bd",
- "expires_in_minutes": 15
}{- "request_id": "string",
- "qr_data": {
- "request_id": "string",
- "required_claims": [
- "string"
], - "expires_at": "2019-08-24T14:15:22Z",
- "nonce": "string"
}, - "expires_at": "2019-08-24T14:15:22Z"
}Retrieves the current status and verification result of a credential request
| requestId required | string Example: CR-ABC123 |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "request_id": "string",
- "requester_entity": "string",
- "required_claims": [
- "string"
], - "status": "pending",
- "qr_data": "string",
- "holder_did": "string",
- "holder_bound_at": "2019-08-24T14:15:22Z",
- "shared_credentials": [
- {
- "type": "string",
- "issuer": "string",
- "issued_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "credential_jwt": "string",
- "metadata": {
- "property1": null,
- "property2": null
}
}
], - "holder_signature": "string",
- "shared_at": "2019-08-24T14:15:22Z",
- "verification_result": {
- "verified_claims": [
- {
- "type": "string",
- "value": null,
- "verified": true,
- "source": "string",
- "confidence": "high"
}
], - "holder_did": "string",
- "verified_at": "2019-08-24T14:15:22Z",
- "confidence": "high",
- "verification_method": "string"
}, - "verification_jwt": "string",
- "verified_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Returns all credential requests associated with an email address
| email required | string <email> |
{- "requests": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "request_id": "string",
- "requester_entity": "string",
- "required_claims": [
- "string"
], - "status": "pending",
- "qr_data": "string",
- "holder_did": "string",
- "holder_bound_at": "2019-08-24T14:15:22Z",
- "shared_credentials": [
- {
- "type": "string",
- "issuer": "string",
- "issued_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "credential_jwt": "string",
- "metadata": {
- "property1": null,
- "property2": null
}
}
], - "holder_signature": "string",
- "shared_at": "2019-08-24T14:15:22Z",
- "verification_result": {
- "verified_claims": [
- {
- "type": "string",
- "value": null,
- "verified": true,
- "source": "string",
- "confidence": "high"
}
], - "holder_did": "string",
- "verified_at": "2019-08-24T14:15:22Z",
- "confidence": "high",
- "verification_method": "string"
}, - "verification_jwt": "string",
- "verified_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}Returns all credential requests associated with a holder DID
| holder_did required | string Example: holder_did=did:key:z6MkjYC2ztc1VNHozMjXKjWNuEUiXnUcioFYXdHk4ip9QMVY |
{- "requests": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "request_id": "string",
- "requester_entity": "string",
- "required_claims": [
- "string"
], - "status": "pending",
- "qr_data": "string",
- "holder_did": "string",
- "holder_bound_at": "2019-08-24T14:15:22Z",
- "shared_credentials": [
- {
- "type": "string",
- "issuer": "string",
- "issued_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "credential_jwt": "string",
- "metadata": {
- "property1": null,
- "property2": null
}
}
], - "holder_signature": "string",
- "shared_at": "2019-08-24T14:15:22Z",
- "verification_result": {
- "verified_claims": [
- {
- "type": "string",
- "value": null,
- "verified": true,
- "source": "string",
- "confidence": "high"
}
], - "holder_did": "string",
- "verified_at": "2019-08-24T14:15:22Z",
- "confidence": "high",
- "verification_method": "string"
}, - "verification_jwt": "string",
- "verified_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}