Skip to main content
PATCH
Update the holder's credential selection on a pending presentation.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Body

application/json
selectedCredentials
object
required

Per credential query, the wallet credential id to share (an array of at most one). Partial update: queries not present keep their currently-persisted choice; an empty array clears the holder's pick for that query, reverting it to the auto-selected default. Ids are validated against the current availableCredentials — an id that is not available for its query is rejected with 400.

Example:

Response

200 - application/json

Updated picker view.

data
object
required

The picker view of a presentation: the verifier's ask (requirements), the wallet's matching credentials (availableCredentials), and the holder's choice (selectedCredentials) — all keyed by the same query id, with the disclosed attribute values resolved inline. Live while pending; a frozen snapshot once approved/rejected.

meta
object
errors
object[]