Skip to main content

Holder

πŸ“„οΈ Delete credential

Deletes a credential from the wallet of the holder, with every copy of its batch. The wallet marks the records as deleted, leaves them out of the list and the presentations, and then sends the OID4VCI `credential_deleted` notification to the issuer. That last step is best effort, so a failure there does not undo the delete. To decline an offer, delete its credential record. The wallet refuses to delete a Wallet Unit Attestation, or a credential that an extension manages.

πŸ“„οΈ List credential

Lists the credentials in the wallet of the holder with pagination. The wallet leaves out the credentials that you deleted, and lists the Wallet Unit Attestations last. Use the query parameters to filter the list by status, credential type, expiry, identifiers or a search term, and to set the order. With `groupBatches=true`, the list gives one row for each batch issuance, with `batchInstanceCount` and `batchAvailableCount`. The wallet replaces a value that it cannot read with the default value and does not refuse the request.

πŸ“„οΈ Read credential issuer metadata

Reads and checks the OID4VCI Credential Issuer Metadata of a credential issuer. Give the Credential Issuer Identifier, or the URL of its metadata document. The wallet reads the metadata from the `.well-known/openid-credential-issuer` location of that identifier, and refuses it when its `credential_issuer` is not exactly that identifier. The wallet removes the keys that its metadata model does not define, including `signed_metadata`, and returns the optional keys that the issuer left out with the value `null`. Each entry of `display` gets the default value `Not Discoverable` for `location` and `description` when the issuer gives no value. The wallet does not change the contents of `credential_configurations_supported`. Use its keys as `credentialConfigurationIds` of a wallet-initiated issuance.