Get Presentation Definition
GET/openid4vc/pd/:state
Returns the DIF Presentation Exchange presentation definition for a session. Called by holder wallets after scanning the QR code to understand which credentials are being requested.
Authentication: None — this is a public endpoint scoped by session state.
Used in legacy inline mode when the authorization URL contains an inline presentation_definition_uri. In JAR mode, wallets fetch GET /openid4vc/request/{sessionId} instead. Both modes are supported.
Request
Responses
- 200
- 400
- 404
A DIF Presentation Exchange Presentation Definition object (schema varies by configured definition).
state is not a valid UUID.
Session not found or presentation definition not configured.