Skip to main content
Version: v4

OpenId4VcCreatePresentationRequestBodyDto

jsonSchemaCredentialIdstringrequired

Credential type the request asks for: the jsonSchemaCredentialId of a VTJSC whose CredentialSchema the agent holds an active VERIFIER Participant for.

Example: employee
requestedClaimsstring[]

Claim names the request asks the wallet to disclose, without a duplicate. Defaults to every claim of the type.

Example: ["name","role"]
queryLanguagestring

Query language of the request. Defaults to dcql; presentation_exchange serves a wallet that never implemented DCQL.

Possible values: [dcql, presentation_exchange]

requestSignerstring

Signer of this request only. x5c yields an x509_hash client identifier for a wallet that cannot resolve a DID, or x509_san_dns on a presentation_exchange request, whose draft predates x509_hash.

Possible values: [x5c, did]

OpenId4VcCreatePresentationRequestBodyDto
{
"jsonSchemaCredentialId": "employee",
"requestedClaims": [
"name",
"role"
],
"queryLanguage": "dcql",
"requestSigner": "x5c"
}