MDocPresentationRequestInput
Input for creating an mDoc presentation request.
input MDocPresentationRequestInput {
callback: Callback
docType: String!
expectedOrigins: [String!]
identity: IdentityInput
identityId: ID
requestedClaims: [MDocClaimPathInput!]!
}
Fields
MDocPresentationRequestInput.callback ● Callback input
Optional callback configuration for receiving presentation responses.
MDocPresentationRequestInput.docType ● String! non-null scalar
The mDoc document type to request (e.g., "org.iso.18013.5.1.mDL" for mobile driver's license).
MDocPresentationRequestInput.expectedOrigins ● [String!] list scalar
The web origin(s) of the page that invokes the Digital Credentials API for this request. The request is always signed with the provisioned mDL reader certificate; this value is the origin binding baked into the ISO 18013-7 SessionTranscript, which the wallet compares against the origin it actually sees (anti-relay/phishing) and which is used to encrypt its response.
Optional. Supply it when the caller knows its own origin — a page calling the DC API directly, including a customer-hosted page or embedded widget. When omitted, the server defaults to the instance's Concierge origin (which is also what presentation flows use, since the ceremony runs on the Concierge). Only the first origin is used.
MDocPresentationRequestInput.identity ● IdentityInput input
The identity who will present (alternatively use the identityId property, if known).
MDocPresentationRequestInput.identityId ● ID scalar
The ID of the identity who will present (alternatively use the identity property).
MDocPresentationRequestInput.requestedClaims ● [MDocClaimPathInput!]! non-null input
The claims to request from the mDoc credential. Each claim is specified as a path array (e.g., ["org.iso.18013.5.1", "family_name"]).
Member Of
createMDocPresentationRequest mutation ● MDocPresentationFlowInput input