Get verification request
Starts the signing of a data disclosure agreement record at a data source (the get_verification_request_endpoint of its access point configuration). The data source makes the record for a published template revision, signs it with its organisation wallet, and answers with an OpenID4VP verification request that has the record as transaction data. The wallet of the data using service answers that request to sign the record as the data using service.
Send an access token from the token endpoint of the same organisation (POST .../token) as Authorization: Bearer <token>. No API key.
Without dataDisclosureAgreementRecordId the data source makes a new record, and optIn must be true. With the canonicalId of an existing record, the parties sign that record again, for example with optIn: false to opt out.
With autoSend: true and the token of a connected organisation, the data source sends the request to the post_verification_request_endpoint of that organisation itself, and the answer is 200 with an empty body. With the token of an OAuth 2.0 client, autoSend has no effect: give the request to the data using service yourself, for example with POST .../post-verification-request of the data using service.
Errors:
400: the organisation does not exist, a field is missing or not valid,optInisfalsefor a new record, or the template revision is not published.401: the access token is missing, unknown or expired (Bearer access token is not valid).403: the organisation is suspended (organisation_suspended).404: the template revision does not exist (Data Disclosure Agreement not found).
Authorizations
Public. The operation takes no credentials.
Path parameters
organisationId stringrequiredThe ID of the organisation
Body
dataDisclosure Agreement Template Revision Id stringrequiredID of the published template revision to sign a record for.
dataDisclosure Agreement Record Id stringThe
canonicalIdof an existing record to sign again. Leave it out to make a new record.optIn booleanrequiredtrueto opt in to the agreement,falseto opt out. A new record needstrue.autoSend booleanrequiredtrueasks the data source to send the request to a connected data using service itself. It works only with the access token of a connected organisation.urlPrefix stringPrefix of the verification request URL.
Default:
openid4vp://
Response
The verification request. With autoSend: true and the token of a connected organisation, the body is empty.
verificationRequest stringThe OpenID4VP verification request URL for the wallet of the data using service.