Skip to main content

List presentation definition

GET 

/v2/config/digital-wallet/openid/sdjwt/presentation-definitions

This endpoint is to list all presentation definitions.

Request

Query Parameters

    offset integerrequired

    Requested index for start of resources to be provided in response requested by client

    limit integerrequired

    Default value: 10

    Number of items returned per page. Requested number of resources to be provided in response requested by client.

Responses

Response Headers
    Schema
      presentationDefinition object[]
    • Array [
    • 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, draft_23, version_01]

      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

      dcqlQuery object

      Defines the structure of the dcql query

      property name* any

      Defines the structure of the dcql query

      clientIdScheme string

      Possible values: [redirect_uri, did, verifier_attestation, x509_san_dns, x509_hash]

      Defines the client id scheme for the verification

      directPostRedirectUri string

      Defines the redirect uri for the verifier

      responseMode string

      Possible values: [direct_post, direct_post.jwt]

      Defines the response mode to be used for verification

    • ]
    • pagination object
      currentPage integer

      Current page number

      totalItems integer

      Total number of items available

      totalPages integer

      Total number of pages based on limit

      limit integer

      Number of items per page

      hasPrevious boolean

      Indicates if there's a previous page

      hasNext boolean

      Indicates if there's a next page

    Loading...