Detailed Verify Confirm Callback Example
General
On this page we will show a detailed example of the verify confirm object that an organization that integrates an example of signature services could receive.
Verify Confirm Callback
Upon invocation of this service, all the attributes requested in the verify request will be received. Below details on scenario of requesting Certified Identity, Certified Document, Licence Credentials
POST/verification/verify/confirm
Request body:
{
"organization_name": "string",
"proof_business_code": "string",
"request_uid": "string",
"revealed_attributes": {},
"unrevealed_attributes": {},
"self_attested_attributes": {},
"proof_request": {},
"proof": {},
"presentation_id": "string",
"connection_id": "string"
}
Example high level of verify confirm object
{
"proof_request": {},
"revealed_attributes": {},
"organization_name": "Infocert",
"unrevealed_attributes": {},
"presentation_id": "4c5277c3-f399-40b5-97de-29d56b977357",
"proof_business_code": "PROOF_FOR_SIGN",
"self_attested_attributes": {},
"proof": {
"proof": {},
"requested_proof": {
"revealed_attrs": {},
"revealed_attr_groups": {},
"self_attested_attrs": {},
"unrevealed_attrs": {},
"predicates": {}
},
"identifiers": []
},
"request_uid": "7051aa1c-8935-11ee-beb3-e2b0723486cc",
"connection_id": "8d1733a1-6a28-43b9-9c65-1650c0e9f167"
}
Example of proof_request:
"proof_request": {
"nonce": "819337274070354122096597",
"name": "PROOF_FOR_SIGN",
"version": "1.0",
"requested_attributes": {
"attr_reference1": {
"restrictions": [
{
"cred_def_id": "FqtdLvcM2i4Q7Ewd8Uf8FJ:3:CL:157442:LicenceLGSVRev07"
}
],
"names": [
"licenceUserName",
"licenceUserEmail",
"licenceExpireDate",
"licenceUserSurname",
"licenceCredentialId"
],
"non_revoked": {
"from": 0,
"to": 1735723189
}
},
"attr_reference2": {
"restrictions": [
{
"cred_def_id": "FqtdLvcM2i4Q7Ewd8Uf8FJ:3:CL:58044:L2_DOC"
}
],
"names": [
"type",
"address",
"country",
"expire_date",
"document_number"
]
},
"attr_reference3": {
"restrictions": [
{
"cred_def_id": "FqtdLvcM2i4Q7Ewd8Uf8FJ:3:CL:157441:L2VRev08"
}
],
"names": [
"name",
"surname",
"birthdate",
"birthplace",
"citizenship",
"identificationId",
"identificationType",
"l2CredentialId",
"credentialIssueTimestamp"
],
"non_revoked": {
"from": 0,
"to": 1735723189
}
},
"attr_reference4": {
"name": "ca_documentation"
},
"attr_reference5": {
"name": "terms_and_condition"
}
},
"requested_predicates": {
}
}
Example of proof :
{
"proof_request": {},
"revealed_attributes": {},
"organization_name": "Infocert",
"unrevealed_attributes": {},
"presentation_id": "4c5277c3-f399-40b5-97de-29d56b977357",
"proof_business_code": "PROOF_LTS_SIGN",
"self_attested_attributes": {},
"proof": {
"proof": {},
"requested_proof": {
"revealed_attrs": {
},
"revealed_attr_groups": {
"attr_reference2": {
"sub_proof_index": 1,
"values": {
"document_number": {
"raw": "YBXXXXX46",
"encoded": "27285020677296491999684720534487244412744979114321088939334157257449870360998"
},
"country": {
"raw": "ITA",
"encoded": "33850650272524118452570073959080318963379319781676122192814586791245817988251"
},
"expire_date": {
"raw": "16-07-2028",
"encoded": "74845089663745606380427543694906863155627231164125791914392561771606579491631"
},
"address": {
"raw": "N/A",
"encoded": "102660207944227383350579118826712469946263860748753669297154861033033322898997"
},
"type": {
"raw": "AO",
"encoded": "111958964763620664890168829351854886225005229698155366484499834676897867672133"
}
}
},
"attr_reference3": {
"sub_proof_index": 0,
"values": {
"identificationType": {
"raw": "EDocID",
"encoded": "113750285235487121992510548169845876300740874738061323603278470532197630495558"
},
"surname": {
"raw": "ROSSI",
"encoded": "54263245392009226909420689500973387798746876866733202393865818249585122407409"
},
"name": {
"raw": "SAVERIO",
"encoded": "45536506384647370198826087456968672554308759243454854050733001559679099167425"
},
"citizenship": {
"raw": "ITA",
"encoded": "33850650272524118452570073959080318963379319781676122192814586791245817988251"
},
"l2CredentialId": {
"raw": "87f006a1-0695-4602-b4a7-7ec8e54b7c70",
"encoded": "53842190704090982635825735905079046691066904509354832139816448569199978008399"
},
"birthplace": {
"raw": "N/A",
"encoded": "102660207944227383350579118826712469946263860748753669297154861033033322898997"
},
"birthdate": {
"raw": "01-01-1984",
"encoded": "57719872846639610322389723171898937348008062839247520082868838351715478257556"
},
"identificationId": {
"raw": "653bc1c00f06de4309d4d248",
"encoded": "26224645253616954054799864918882731047699808810684527758503203019919750531939"
},
"credentialIssueTimestamp": {
"raw": "1698415169",
"encoded": "1698415169"
}
}
},
"attr_reference1": {
"sub_proof_index": 2,
"values": {
"licenceUserEmail": {
"raw": "saverio.rossi@email.it",
"encoded": "102327596313229034743306579359827651245436675677145610951868958715150589281337"
},
"licenceUserSurname": {
"raw": "Rossi",
"encoded": "37744103406548018543213512243633159435655507187490949318902076657013805908472"
},
"licenceUserName": {
"raw": "Saverio",
"encoded": "104247715359049233889524750212393408171618650766375422477212153266394077138208"
},
"licenceCredentialId": {
"raw": "69b026ca-f443-4e4d-b7ac-5981f992db43",
"encoded": "49391715506874050038340231706008235174220985591753483331466128072329117730596"
},
"licenceExpireDate": {
"raw": "1868871699",
"encoded": "1868871699"
}
}
}
},
"self_attested_attrs": {
"attr_reference4": "TEXT",
"attr_reference5": "TEXT"
},
"unrevealed_attrs": {
},
"predicates": {
}
},
"identifiers": [
{
"schema_id": "Nkm6Gvyb5wCru52raJ8DkV:2:L2:4.0",
"cred_def_id": "FqtdLvcM2i4Q7Ewd8Uf8FJ:3:CL:157441:L2VRev08",
"rev_reg_id": "FqtdLvcM2i4Q7Ewd8Uf8FJ:4:FqtdLvcM2i4Q7Ewd8Uf8FJ:3:CL:157441:L2VRev08:CL_ACCUM:dc1b0184-b048-43b9-a209-2dec89fbefcf",
"timestamp": 1693811894
},
{
"schema_id": "Nkm6Gvyb5wCru52raJ8DkV:2:L2_DOC:1.1",
"cred_def_id": "FqtdLvcM2i4Q7Ewd8Uf8FJ:3:CL:58044:L2_DOC"
},
{
"schema_id": "Nkm6Gvyb5wCru52raJ8DkV:2:LicenceLGS:2.0",
"cred_def_id": "FqtdLvcM2i4Q7Ewd8Uf8FJ:3:CL:157442:LicenceLGSVRev07",
"rev_reg_id": "FqtdLvcM2i4Q7Ewd8Uf8FJ:4:FqtdLvcM2i4Q7Ewd8Uf8FJ:3:CL:157442:LicenceLGSVRev07:CL_ACCUM:3d6e5154-cd69-492a-b768-be2f3de20906",
"timestamp": 1693811766
}
]
},
"request_uid": "7051aa1c-8935-11ee-beb3-e2b0723486cc",
"connection_id": "8d1733a1-6a28-43b9-9c65-1650c0e9f167"
}
example of revealed_attributes:
"revealed_attributes": {
##### Certified Document Data
"document_number": "YBXXXXX46",
"country": "ITA",
"expire_date": "16-07-2028",
"address": "N/A",
"type": "AO",
#### Certified Identity Data
"identificationType": "EDocID",
"surname": "ROSSI",
"name": "SAVERIO",
"citizenship": "ITA",
"l2CredentialId": "87f006a1-0695-4602-b4a7-7ec8e54b7c70",
"birthplace": "N/A",
"birthdate": "01-01-1984",
"identificationId": "653bc1c00f06de4309d4d248",
"credentialIssueTimestamp": "1698415169",
#### licence data
"licenceUserEmail": "saverio.rossi@email.it",
"licenceUserSurname": "Rossi",
"licenceUserName": "Saverio",
"licenceCredentialId": "69b026ca-f443-4e4d-b7ac-5981f992db43",
"licenceExpireDate": "1868871699"
},
example of self_attested_attributes:
"self_attested_attributes": {
"ca_documentation": "TERMS AND CONDITION....",
"terms_and_condition": "TERMS AND CONDITIONS..."
}