v5

latestOpenAPI 3.0.0raw.githubusercontent.com2025-09-30102742.8 KB
Backend

Create credential offer

Generate and return a new credential offer

post/webapp/credential-offers

Request body

credential_issuerstring

URL of the credential issuer

credential_configuration_idsstring[] required

Identifiers for the offered credential configurations

client_idstring

Optional Client identifier of the wallet

Example request

{
  "credential_issuer": "https://agent.findynet.demo.sphereon.com/oid4vci",
  "credential_configuration_ids": [
    "PensionSdJwt"
  ],
  "grants": {
    "urn:ietf:params:oauth:grant-type:pre-authorized_code": {
      "pre-authorized_code": "d270fee1-9185-4e60-9901-d291e1338d7a",
      "tx_code": {
        "length": 4,
        "description": "Please check your e-mail for a pin code"
      }
    }
  },
  "client_id": "https://wallet.example.com"
}

Response

Successful response

uristring

Credential offer URI

userPinstring

User PIN for access if required

txCodeobject

Transaction code details for tracking

Example response

{
  "uri": "https://issuer.example.com/credential-offer/123",
  "userPin": "1234"
}
All 10 operations