Skip to main content

Send verification request

POST 

https://demo-api.igrant.io/v2/digital-wallet/verification/send

Send a presentation request in reference to a data agreement

Request

Body

    connectionId stringrequired
    dataAgreementId stringrequired

Responses

Response Headers
    Schema
      verificationHistory object
      id string

      Identifier for the presentation exchange response

      autoPresent boolean

      Indicates whether auto-presentation is enabled

      connectionId string

      Connection identifier

      createdAt string

      Timestamp indicating when the presentation exchange was created

      errorMsg string

      Error message associated with the presentation exchange

      initiator string

      Initiator of the presentation exchange

      presentationExchangeId string

      Identifier for the presentation exchange

      presentationProposalDict object

      Presentation proposal dictionary

      presentationRequest object

      Presentation request information

      name string

      Name of the presentation request

      version string

      Version of the presentation request

      requestedAttributes object

      Map of requested attributes

      property name* object
      name string

      Name of the requested attribute

      restrictions object[]

      List of restrictions for the requested attribute

    • Array [
    • schemaId string

      Schema identifier

      credDefId string

      Credential definition identifier

    • ]
    • requestedPredicates object

      Map of requested predicates

      nonce string

      Nonce

      presentationRequestDict object

      Presentation request dictionary

      @type string

      Type of the presentation request dictionary response

      @id string

      Identifier for the presentation request dictionary response

      ~dataAgreementContext object

      Data agreement context information

      context string[]

      Context information

      templateId string

      Identifier for the data agreement template

      templateVersion integer

      Version of the data agreement template

      dataControllerName string

      Name of the data controller

      dataControllerUrl string

      URL of the data controller

      purpose string

      Purpose of data processing

      purposeDescription string

      Description of the purpose

      lawfulBasis string

      Legal basis for data processing

      methodOfUse string

      Method of data use

      dataPolicy object

      Data policy information

      dataRetentionPeriod integer

      Data retention period in days

      policyUrl string

      URL to the data policy

      jurisdiction string

      Jurisdiction information

      industrySector string

      Industry sector information

      geographicRestriction string

      Geographic restriction details

      storageLocation string

      Storage location details

      thirdPartyDataSharing boolean

      Indicates whether third-party data sharing is allowed

      personalData object[]

      List of personal data items

    • Array [
    • AttributeId stringrequired

      Identifier for the attribute

      AttributeName stringrequired

      Name of the attribute

      AttributeDescription stringrequired

      Description of the attribute

      AttributeCategory stringrequired

      Category of the attribute

      AttributeSensitive booleanrequired

      Indicates whether the attribute is sensitive

    • ]
    • dpia object

      Data Protection Impact Assessment (DPIA) information

      DpiaDate stringrequired

      Date of the DPIA (Data Protection Impact Assessment)

      DpiaSummaryUrl stringrequired

      URL to the summary of the DPIA

      event object

      Data agreement event information

      Did stringrequired

      Decentralized Identifier (DID)

      Id stringrequired

      Identifier for the event

      State stringrequired

      State of the event

      TimeStamp stringrequired

      Timestamp of the event

      proofChain object[]

      List of proof chain items

    • Array [
    • Id stringrequired

      Identifier for the proof

      Type stringrequired

      Type of the proof

      Created stringrequired

      Timestamp indicating when the proof was created

      VerificationMethod stringrequired

      Verification method used for the proof

      ProofPurpose stringrequired

      Purpose of the proof

      ProofValue stringrequired

      Value of the proof

    • ]
    • dataSubjectDid string

      DID (Decentralized Identifier) of the data subject

      requestPresentations~attach object[]

      List of request presentations attachments

    • Array [
    • @id string

      Identifier for the offer attachment response

      mimeType string

      MIME type of the attachment

      data object

      Data associated with the attachment

      base64 stringrequired

      Base64-encoded data

    • ]
    • Comment string

      Comment associated with the presentation request dictionary response

      presentation object

      Presentation information

      requestedProof object

      Requested proof information

      predicates object

      Map of predicates in the requested proof

      selfAttestedAttrs object

      Map of self-attested attributes in the requested proof

      property name* string
      unrevealedAttrs object

      Map of unrevealed attributes in the requested proof

      revealedAttrs object

      Map of revealed attributes in the requested proof

      identifiers undefined[]

      List of identifiers

      proof object

      Proof information

      proofs undefined[]

      List of proofs

      aggregatedProof object

      Aggregated proof information

      cList undefined[]

      List of CList elements in the aggregated proof

      cHash string

      CHash in the aggregated proof

      role string

      Role in the presentation exchange

      state string

      State of the presentation exchange

      threadId string

      Thread identifier

      trace boolean

      Indicates whether tracing is enabled

      updatedAt string

      Timestamp indicating when the presentation exchange was last updated

      verified boolean

      Indicates whether the presentation is verified

      dataAgreementId string

      Data agreement identifier

      dataAgreement object

      Data agreement information

      context string[]

      Context information

      templateId string

      Identifier for the data agreement template

      templateVersion integer

      Version of the data agreement template

      dataControllerName string

      Name of the data controller

      dataControllerUrl string

      URL of the data controller

      purpose string

      Purpose of data processing

      purposeDescription string

      Description of the purpose

      lawfulBasis string

      Legal basis for data processing

      methodOfUse string

      Method of data use

      dataPolicy object

      Data policy information

      dataRetentionPeriod integer

      Data retention period in days

      policyUrl string

      URL to the data policy

      jurisdiction string

      Jurisdiction information

      industrySector string

      Industry sector information

      geographicRestriction string

      Geographic restriction details

      storageLocation string

      Storage location details

      thirdPartyDataSharing boolean

      Indicates whether third-party data sharing is allowed

      personalData object[]

      List of personal data items

    • Array [
    • AttributeId stringrequired

      Identifier for the attribute

      AttributeName stringrequired

      Name of the attribute

      AttributeDescription stringrequired

      Description of the attribute

      AttributeCategory stringrequired

      Category of the attribute

      AttributeSensitive booleanrequired

      Indicates whether the attribute is sensitive

    • ]
    • dpia object

      Data Protection Impact Assessment (DPIA) information

      DpiaDate stringrequired

      Date of the DPIA (Data Protection Impact Assessment)

      DpiaSummaryUrl stringrequired

      URL to the summary of the DPIA

      event object

      Data agreement event information

      Did stringrequired

      Decentralized Identifier (DID)

      Id stringrequired

      Identifier for the event

      State stringrequired

      State of the event

      TimeStamp stringrequired

      Timestamp of the event

      proofChain object[]

      List of proof chain items

    • Array [
    • Id stringrequired

      Identifier for the proof

      Type stringrequired

      Type of the proof

      Created stringrequired

      Timestamp indicating when the proof was created

      VerificationMethod stringrequired

      Verification method used for the proof

      ProofPurpose stringrequired

      Purpose of the proof

      ProofValue stringrequired

      Value of the proof

    • ]
    • dataSubjectDid string

      DID (Decentralized Identifier) of the data subject

      dataAgreementTemplateId string

      Data agreement template identifier

      dataAgreementStatus string

      Status of the data agreement

      dataAgreementProblemReport string

      Problem report associated with the data agreement

    Authorization: http

    name: BearerAuthtype: httpbearerFormat: JWTdescription: Access token passed with Bearer prefix in Authorization headerscheme: bearer
    curl -L -X POST 'https://demo-api.igrant.io/v2/digital-wallet/verification/send' \
    -H 'Content-Type: application/json' \
    -H 'Accept: application/json' \
    -H 'Authorization: Bearer <TOKEN>' \
    --data-raw '{
    "connectionId": "string",
    "dataAgreementId": "string"
    }'
    Request Collapse all
    Base URL
    https://demo-api.igrant.io/v2
    Auth
    Body
    {
      "connectionId": "string",
      "dataAgreementId": "string"
    }
    
    ResponseClear

    Click the Send API Request button above and see the response here!