Skip to main content

Read presentation definition

GET 

/v2/config/digital-wallet/openid/sdjwt/presentation-definition/:presentationDefinitionId

This endpoint is used to read presentation definition

Request

Path Parameters

    presentationDefinitionId stringrequired

    Identifier for the presentation definition

Responses

Response Headers
    Schema
      presentationDefinition object
      presentationDefinitionId stringrequired

      Identifier for the presentation definition

      label stringrequired

      Defines the usage purpose for the presentation definition. For e.g. Verify Portable Document A1

      presentationDefinition objectrequired

      Defines the structure of the presentation credential as per DIF presentation exchange specification. Refer it here: https://identity.foundation/presentation-exchange/

      property name* any

      Defines the structure of the presentation credential as per DIF presentation exchange specification. Refer it here: https://identity.foundation/presentation-exchange/

      transactionDataDefinitionType string

      Possible values: [payment_data]

      Defines the transaction data template type for the presentation definition. For e.g. payment_data

      enforceWUA boolean

      Specifies the verifiable credential should enforce wallet unit attestation

      createdAt numberrequired

      Timestamp when the record was created.

      updatedAt numberrequired

      Timestamp when the record was updated.

      version string

      Possible values: [draft_14, draft_18]

      Specifies the version of oid4vp draft specification

      kid string

      Specifies the key identifier of keys to be used for credential issuance

      trustAnchor string

      Possible values: [jwk, did:key, did:ebsi, did:web]

      Specifies the trust anchor used for credential issuance

      scope string

      Specifies the scope for the presentation definition

      responseType string

      Possible values: [id_token, vp_token]

      Specifies the response type for the presentation definition

    Loading...