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 Wallet Unit Attestation (WUA) request, so this operation is optional. Use it to register a wallet unit before that request, or with isAuthorised: false to hold its WUA requests until you authorise it with Update individual wallet unit.
The client id is unique for the wallet provider over both kinds of wallet unit and stays taken after a delete. No operation makes an organisation wallet unit.
Authorizations
AuthorizationstringheaderrequiredYour API key with the prefix
ApiKey:ApiKey <your-api-key>. Get an API key.Scope:
individual-wallet-units:create
Body
The new individual wallet unit.
clientId stringrequiredRequired. The client id of the wallet unit, usually its DID: the
subof its Wallet Unit Attestations. It must be new for the wallet provider: no wallet unit of either kind, also a deleted one, may have it.clientUrl stringOptional. The credential offer URL of the wallet. A wallet unit replaces it with the
credential_offer_urlof its next WUA request.clientPublic Key objectrequiredRequired. The public key of the wallet unit as a JWK: an EC key on P-256, P-384 or P-521 with
kty,crv,xandy, and no private member. A single WUA request of the wallet replaces it with the key of its client assertion (cnf).isAuthorised booleantrueauthorises the wallet unit at once, so that it can get Wallet Unit Attestations. Defaultfalse: authorise it later with Update individual wallet unit.Default:
falsedevicePlatform enum<string>requiredRequired. The device platform of the wallet unit. The wallet provider refuses a WUA request of the wallet unit from another platform.
Available options:
ios,androidExample:
"android"
Response
The new individual wallet unit. Its device members and assertionToken stay empty until its first WUA request.
individualWallet Unit objectThe new individual wallet unit.