Skip to main content

Individual wallet units

Register and manage the wallet units of natural persons (their wallet apps), and revoke a wallet unit.

Create individual wallet unit

Registers an individual wallet unit in advance: the wallet of a natural person in a mobile app on one device. A mobile wallet that is not registered registers itself, authorised, at its first WIA request, so this operation is optional. Use it to register a wallet unit before that request, or with `isAuthorised: false` to hold its WIA requests until you authorise it with [Update individual wallet unit](/docs/openid4vc-api/config-update-digital-wallet-open-id-individual-wallet-unit).

Read individual wallet unit

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

Update individual wallet unit revocation status

Revokes an individual 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. In the same change the wallet unit loses its authorisation (`isAuthorised: false`, `status: revoked`), so it gets no new WIA, and its Wallet Unit History gets the event `revoked` with the reason `wallet_provider` and the actor of the call. A wallet unit without a WIA is revoked too, with `revokedEntries` `0`.