Skip to main content

Organisation wallet units

Manage the wallet units of holder organisations, fill the WIA pool of a wallet unit, and revoke a wallet unit.

List organisation wallet units

Lists the organisation wallet units of the wallet provider, the last changed first, one page at a time. Each row has the state of the wallet unit and of its Wallet Unit Attestations, the current EBWOID (European Business Wallet Organisation Identifier) state of the holder organisation, and its usage counts from the hourly usage reports of the wallet unit, today up to `usageReportedAt` (see [Read organisation wallet unit statistics](/docs/openid4vc-api/config-read-digital-wallet-open-id-organisation-wallet-unit-statistics)). A deleted wallet unit stays in the list, with its `deletion`, until the purge of its holder organisation. Each row has the keystore type and the time of the last key attestation of the wallet unit; its events are in its Wallet Unit History (see [Read organisation wallet unit history](/docs/openid4vc-api/config-read-digital-wallet-open-id-organisation-wallet-unit-history)).

Read organisation wallet unit

Returns one organisation wallet unit of the wallet provider: its holder organisation, its authorisation, the state of its WIA pool, the keystore type and the time of its last key attestation, and the scheduled deletion of a deleted wallet unit. Get the `walletUnitId` from [List organisation wallet units](/docs/openid4vc-api/config-list-digital-wallet-open-id-organisation-wallet-unit). The events of the wallet unit are in its Wallet Unit History: see [Read organisation wallet unit history](/docs/openid4vc-api/config-read-digital-wallet-open-id-organisation-wallet-unit-history).

Delete organisation wallet unit

Deletes an organisation wallet unit. In one change, the wallet provider removes its authorisation, revokes (`Revoked`) its WIAs on their status lists and the copies that the holder organisation keeps, deletes it, and starts the deletion of the wallet of the holder organisation. There is no undo. The deleted wallet unit stays in the list, with its `deletion`, until the purge of the holder organisation, and its Wallet Unit History stays readable until then: the events `revoked` (reason `unit_deleted`) and `deleted` (with the scheduled deletion).

Update organisation wallet unit revocation status

Revokes an organisation wallet unit (TS3 section 2.5.1): the wallet provider revokes the status list entry of each WIA of the wallet unit that it keeps in its WIA register, every WIA of its pools included, and the copies that the holder organisation keeps follow. In the same change the wallet unit loses its authorisation (`isAuthorised: false`, `attestationStatus: revoked`), so it gets no new WIA until you authorise it again with [Update organisation wallet unit](/docs/openid4vc-api/config-update-digital-wallet-open-id-organisation-wallet-unit) and fill its pool with [Issue organisation wallet unit attestations](/docs/openid4vc-api/config-issue-digital-wallet-open-id-organisation-wallet-unit-credential). Its Wallet Unit History gets the event `revoked` with the reason `wallet_provider` and the actor of the call.

Issue organisation wallet unit attestations

Fills the Wallet Unit Attestation (WUA) pool of an organisation wallet unit at once. An organisation wallet presents each WUA of its pool to one issuer only, each bound to a holder key of its own; the pool has `wiaPoolSize` WUAs (see [Read organisation wallet unit configuration](/docs/openid4vc-api/config-read-digital-wallet-open-id-organisation-wallet-unit-global-configuration)). The wallet provider signs a new pool, keeps one row for each WIA in its WIA register (the status list entry and the times, for a later revocation), counts the pool in the daily summary `wiasIssued` of the Wallet Unit History, and gives the WUAs to the holder organisation. A new pool also marks the wallet unit authorised and `active`.