Skip to main content
OpenID Conformance

Send conformance credential offer

POST/v4/config/platform/extension/openid-conformance/credential-offer

Sends a credential offer of a conformance credential definition to the credential_offer_endpoint of a running test of the conformance suite. Use it in the issuer test plans that start with an offer of the issuer (issuer initiated): the suite waits for the offer at the endpoint that the test shows.

The wallet makes the offer with the claims of the conformance test user and sends it to the endpoint. The answer holds the issuance history of the offer and the HTTP status that the suite answered. Only the credential definitions of the extension can be sent (sdJwtPidCredentialDefinitionId, mdocPidCredentialDefinitionId, mdocMdlCredentialDefinitionId or mdocPhotoIdCredentialDefinitionId of Read OpenID Conformance extension).

The answer is 404 when the extension is not enabled.

Authorizations

  • Authorizationstringheaderrequired

    Your API key with the prefix ApiKey: ApiKey <your-api-key>. Get an API key.

    Scope:issuances:issue

Body

application/json
  • credentialDefinitionIdstringrequired

    A credential definition of the extension.

  • credentialOfferEndpointstringrequired

    The credential_offer_endpoint of the running test. The wallet sends the offer only to an https URL with no query, and refuses an address of a private network.

Response

application/json

The offer is sent.

  • credentialExchangeIdstring

    The issuance history of the offer. Read it with the issuance history of the OpenID4VC API.

  • credentialOfferEndpointStatusinteger

    The HTTP status that the conformance suite answered to the offer.