Credential Presentation
Present verifiable credentials to a verifier using OpenID4VP.
Do preliminary processing of an incoming OID4VP Authorization Request and find credentials matching it.
This API should be called when first receiving an OID4VP Authorization Request from a verifier. It will process the request according to the OID4VP protocol and determine which credentials held by the given wallet satisfy the requirements in the Authorization Request.
The response can be obtained with /wallets/{walletId}/verify/{verificationSessionId}/session-status API call.
Path Parameters
walletId*string
The unique identifier of the Wallet.
Format
uuidHeader Parameters
Authorization*string
Token for authenticating requests to the FortID Wallet Service.
Request Body
application/json
authorizationRequest*string
The URL encoded AuthorizationRequest object indended to be
communicated to an external wallet.
[key: string]?never
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://ews.fortid.com/wallets/f4856bb7-d77a-4a6a-9c8a-7d7f6f639cfb/verify/initiate" \ -H "Authorization: Bearer {access_token}" \ -H "Content-Type: application/json" \ -d '{ "authorizationRequest": "openid4vp://authorize?client_id=Verifier-Service&request_uri=https%3A%2F%2Fevs.fortid.com%3A443%2Fprotocol%2Fauthorization-request%2F1811d55a-0e0f-4b93-bbae-8fe991f89359&request_uri_method=get" }'{
"verificationSessionId": "dd6473c2-2043-4523-b359-ceb596ddae66"
}{
"message": "Bad request"
}{
"message": "Unauthorized access to wallet service is not allowed."
}{
"message": "User user:9d18dc5a409e4f0f94ff6812e324c959 unauthorized for Wallet f5d223f6-fc41-42b1-b2a6-475a2984486c"
}{
"message": "Internal Server Error"
}{
"message": "Unsupported functionality"
}