OpenID4VCI Protocol
Standard OpenID4VCI credential-offer-by-reference document.
Fetch the OpenID4VCI (OpenID for Verifiable Credential Issuance) credential-offer-by-reference document. Wallets open the credential_offer_uri, fetch this document, and then exchange the pre-authorized code at the token endpoint. This response follows the standard credential offer shape.
get/v1/credential-offers/{uuid}/offer
Path parameters
uuidstring uuid required
Send the offer UUID.
Response
Didit returned the OpenID4VCI credential-offer document.
Example response
{
"credential_configuration_ids": [
"AirlineLoyalty"
],
"credential_issuer": "http://localhost:8011/v1/issuers/docs-capture-6clew6",
"grants": {
"urn:ietf:params:oauth:grant-type:pre-authorized_code": {
"pre-authorized_code": "<redacted>",
"tx_code": {
"description": "<redacted>",
"input_mode": "<redacted>",
"length": 6
}
}
}
}