FortID LogoFortID

Issuance Consent

Provide user consent to continue the OpenID4VCI issuance flow.

POST
/wallets/{walletId}/issue/{issuanceSessionId}/consent

This API notifies the Wallet Service that the end user has consented to receive a credential to be issued, after which the Wallet Service continues with the protocol.

Additional parameters, such as txCode, may be provided depending on the protocol context. For example, txCode is used in the Pre-Authorized Code Flow if txCode is enabled by the Issuer.

To verify whether the credential has been issued, the caller must invoke the /issue/{issuanceSessionId}/session-status API.

Path Parameters

walletId*string

The unique identifier of the Wallet.

Formatuuid
issuanceSessionId*string

A unique ID of the issuance session.

Header Parameters

Authorization*string

Token for authenticating requests to the FortID Wallet Service.

Request Body

application/json

txCode?string

Transaction code generated by an issuer. This parameter is optional.

Response Body

application/json

curl -X POST "https://ews.fortid.com/wallets/f4856bb7-d77a-4a6a-9c8a-7d7f6f639cfb/issue/dd6473c2-2043-4523-b359-ceb596ddae66/consent" \  -H "Authorization: Bearer {access_token}" \  -H "Content-Type: application/json" \  -d '{}'
Empty
Empty
{
  "message": "Issuance session with ID dd6473c2-2043-4523-b359-ceb596ddae66 not found"
}
Empty