rejectIssuedCredential

suspend fun rejectIssuedCredential(notificationId: String, accessToken: String, credentialIssuerBaseUrl: String? = null, notificationEndpoint: String? = null, eventDescription: String? = null)

Reports OpenID4VCI credential_deleted for a credential the holder rejected instead of storing.

Isolated fetch (storeInWallet=false) returns the notificationId to pass here with the same access token. Delivery is Bearer-only and best-effort: a missing issuer notification endpoint is a no-op. Session-based receive already posts credential_accepted / credential_failure through the issuance engine.

Parameters

notificationId

OpenID4VCI notification_id from the credential response.

accessToken

Access token used to obtain the credential.

credentialIssuerBaseUrl

Issuer identifier used to resolve notification_endpoint when notificationEndpoint is omitted.

notificationEndpoint

Explicit OpenID4VCI notification endpoint, when already known.

eventDescription

Optional issuer-facing description.