v8

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-05730512.7 KB
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.

credential_configuration_idsstring[]

Use these credential configuration IDs to select the offered VCT (Verifiable Credential Type).

credential_issuerstring uri

Use this issuer identifier to discover metadata and validate the proof audience.

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
      }
    }
  }
}