Send presentation
Builds the Verifiable Presentation from the held credentials that the user chose and sends it to the verifier (the OpenID4VP Authorization Response). The record changes to presentation_acked, and the wallet sends the holder event ows.holder.presentation.sent. Each copy of a batch credential is presented only once.
- Give
credentialswhen the record has adcqlQuery: one entry for each credential query to answer, with theidof the query and the chosencredentialId(orcredentialIdsfor a query withmultiple). For a query withclaim_sets, also giveclaimIds: one option ofclaimSetsof the chosen credential, from List matching credentials.
When the response mode asks for encryption, the wallet encrypts the response with encryptionAlgorithm. When the send fails, the wallet also sends an error response to the verifier, so that the verifier does not wait. After a good answer, send the user to responseRedirectUri when it is not empty, to finish the flow at the verifier.
With requiresTrustedRelyingParty on in the holder configuration, the wallet does not answer a request whose signer is not trusted, also for a record that it received before the setting was on.
Authorizations
AuthorizationstringheaderrequiredYour API key with the prefix
ApiKey:ApiKey <your-api-key>. Get an API key.Scope:
presentations:send
Path parameters
presentationId stringrequiredThe
presentationIdof a presentation record of the organisation wallet, from the answer of Receive presentation request or List presentations.Example:
"3f2a7c18-9b4e-4d0a-8c6f-1e5b2a9d4c73"
Body
The held credentials that the user chose, and the optional response encryption algorithm.
bodyobjectThe choice for a DCQL query (the record has a
dcqlQuery).
Response
The presentation record after the send.
presentationobjectThe presentation record, now
presentation_acked, with the shared credentials inpresentationand the redirect of the verifier inresponseRedirectUri.