Send verification request
POSThttps://demo-api.igrant.io/v2/digital-wallet/verification/send
Send a presentation request in reference to a data agreement
Request
- application/json
Body
connectionId stringrequired
dataAgreementId stringrequired
Responses
- 200
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
verificationHistory object
{
"verificationHistory": {
"id": "string",
"autoPresent": true,
"connectionId": "string",
"createdAt": "string",
"errorMsg": "string",
"initiator": "string",
"presentationExchangeId": "string",
"presentationProposalDict": {},
"presentationRequest": {
"name": "string",
"version": "string",
"requestedAttributes": {},
"requestedPredicates": {},
"nonce": "string"
},
"presentationRequestDict": {
"@type": "string",
"@id": "string",
"~dataAgreementContext": {
"context": [
"string"
],
"templateId": "string",
"templateVersion": 0,
"dataControllerName": "string",
"dataControllerUrl": "string",
"purpose": "string",
"purposeDescription": "string",
"lawfulBasis": "string",
"methodOfUse": "string",
"dataPolicy": {
"dataRetentionPeriod": 0,
"policyUrl": "string",
"jurisdiction": "string",
"industrySector": "string",
"geographicRestriction": "string",
"storageLocation": "string",
"thirdPartyDataSharing": true
},
"personalData": [
{
"AttributeId": "string",
"AttributeName": "string",
"AttributeDescription": "string",
"AttributeCategory": "string",
"AttributeSensitive": true
}
],
"dpia": {
"DpiaDate": "string",
"DpiaSummaryUrl": "string"
},
"event": {
"Did": "string",
"Id": "string",
"State": "string",
"TimeStamp": "string"
},
"proofChain": [
{
"Id": "string",
"Type": "string",
"Created": "string",
"VerificationMethod": "string",
"ProofPurpose": "string",
"ProofValue": "string"
}
],
"dataSubjectDid": "string"
},
"requestPresentations~attach": [
{
"@id": "string",
"mimeType": "string",
"data": {
"base64": "string"
}
}
],
"Comment": "string"
},
"presentation": {
"requestedProof": {
"predicates": {},
"selfAttestedAttrs": {},
"unrevealedAttrs": {},
"revealedAttrs": {}
},
"identifiers": [
null
],
"proof": {
"proofs": [
null
],
"aggregatedProof": {
"cList": [
null
],
"cHash": "string"
}
}
},
"role": "string",
"state": "string",
"threadId": "string",
"trace": true,
"updatedAt": "string",
"verified": true,
"dataAgreementId": "string",
"dataAgreement": {
"context": [
"string"
],
"templateId": "string",
"templateVersion": 0,
"dataControllerName": "string",
"dataControllerUrl": "string",
"purpose": "string",
"purposeDescription": "string",
"lawfulBasis": "string",
"methodOfUse": "string",
"dataPolicy": {
"dataRetentionPeriod": 0,
"policyUrl": "string",
"jurisdiction": "string",
"industrySector": "string",
"geographicRestriction": "string",
"storageLocation": "string",
"thirdPartyDataSharing": true
},
"personalData": [
{
"AttributeId": "string",
"AttributeName": "string",
"AttributeDescription": "string",
"AttributeCategory": "string",
"AttributeSensitive": true
}
],
"dpia": {
"DpiaDate": "string",
"DpiaSummaryUrl": "string"
},
"event": {
"Did": "string",
"Id": "string",
"State": "string",
"TimeStamp": "string"
},
"proofChain": [
{
"Id": "string",
"Type": "string",
"Created": "string",
"VerificationMethod": "string",
"ProofPurpose": "string",
"ProofValue": "string"
}
],
"dataSubjectDid": "string"
},
"dataAgreementTemplateId": "string",
"dataAgreementStatus": "string",
"dataAgreementProblemReport": "string"
}
}
Authorization: http
name: BearerAuthtype: httpbearerFormat: JWTdescription: Access token passed with Bearer prefix in Authorization headerscheme: bearer
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
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"
}'
ResponseClear