Issuance API
POST /api/qbc/issue
{
"holder": "did:example:123",
"claims": { "age": 23, "role": "student" },
"options": { "pq_safe": true }
}
Response: QBindCredential JSON
Verification API
POST /api/qbc/verify
{
"presentation": { ... },
"challenge": "random_nonce"
}
Response:
{
"valid": true,
"checked_vectors": 3
}
Presentation API
POST /api/qbc/present
{
"credential": { ... },
"claims_to_disclose": ["age_over_18"]
}
Response: QBC Presentation JSON