Send data agreement verification request
Sends an OpenID4VP Authorization Request for a data agreement (ISO/IEC TS 27560) of the organisation and starts a verification. The latest revision of the data agreement must have the data exchange profile OID4VC and the method of use data_using_service (see Create data agreement). The request uses the presentation definition of its dataExchange.id, and it carries the data agreement, so the holder sees its terms with the request.
The response is the verification history of the request, as for Send verification request; its dataAgreementId and dataAgreement hold the data agreement. Follow the result in the same way.
Authorizations
AuthorizationstringheaderrequiredYour API key with the prefix
ApiKey:ApiKey <your-api-key>. Get an API key.Scope:
verifications:request
Body
The data agreement and the options of this request.
dataAgreement Id stringrequiredThe ID of a data agreement of the organisation, from the consent API. Required. Its latest revision must have the data exchange profile
OID4VCand the method of usedata_using_service; the request uses the presentation definition of itsdataExchange.id, and carries the data agreement.Example:
"6af0821c2d6fb7b6ac6efc78"presentationDefinition Id stringNot used: the presentation definition comes from the data agreement.
requestBy Reference booleantrue:requestUrlhas arequest_uri, and the wallet fetches the request from it, which keeps the QR code small. A signed request always goes by reference, so the value changes only an unsignedredirect_urirequest. Defaultfalse.Default:
falseExample:
truetransactionData objectThe transaction data that the holder approves with the presentation. Required when the presentation definition of the data agreement has a
transactionDataDefinitionType, and refused when it has none. It must follow the JSON Schema of that type (List transaction data templates).noncestringThe
nonceof the request, which the presentation must contain. Default: a new random value.Example:
"z4cVLRsq9pKx0NgQ7E3hJg"urlPrefix stringThe start of
requestUrl, before?. Use it to open a given wallet app, for example its universal link. Defaultopenid4vp://.Example:
"openid4vp://"individualId stringThe ID of an individual of the organisation. The wallet also sends the request as a push notification to the device of the individual, which needs a push notification token. Do not send it with
mapperId.mapperId stringYour own ID of an individual of the organisation (the mapper ID). As
individualId, but the individual is found by this ID. Do not send it withindividualId.hasSignature Stamp booleanFor a document signing request (
qes_data):trueputs a visible signature stamp on the signed PDF. Defaultfalse.Default:
falsesignatureCoordinate integer[]For a document signing request: where the signature goes on the PDF page, as
[x1, y1, x2, y2]in points. Exactly four integers.4 items.
Response
The verification history of the new request, with status request_sent.
verificationHistory objectThe verification history of one OpenID4VP verification request: the request, the response of the wallet and the result of the checks.
Each member is always in the answer, except
dcApiRequest,dcApiProtocol,cryptographicKeyFormat,cryptographicKeyIdentifierandpresentationDefinitionSnapshot, which are left out when they have no value. A member without a value has the empty value of its type:""for a string,0for a number,falsefor a boolean,nullfor an object or an array.A request has no expiry flag. It expires
presentationRequestLifetimeSecondsof the verifier configuration aftercreatedAt; the verification status stream reports it asexpired.