Request a credential from an issuer
POST/api/v1/wallets/:walletExternalKey/credentials/request
| URL | Description |
|---|---|
| https://wallet.acc.credenco.com | Generated server url |
The wallet asks the issuer for the credential itself, without a credential offer and without a user, through the issuer's authorization challenge endpoint (OpenID4VCI 1.1 Interactive Authorization). When the issuer asks for a presentation, the wallet answers it with the first matching credential. When the issuer has no authorization challenge endpoint or needs a user, the response is 409 with an authorization URL to open in a browser while logged in to the wallet. Requires the WALLET_HOLDER_CREDENTIALS_CRUD role.
Required Role
| Role | Description |
|---|---|
WALLET_HOLDER_CREDENTIALS_CRUD | Read, receive and delete credentials |
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 422
The credentials were received and stored
Invalid issuer URL, or the issuer's metadata could not be read.
Unauthorized.
Forbidden.
Wallet not found.
The issuer needs a user. The response carries the authorization URL and the reason.
Unprocessable Request.