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.
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 WIAs. It must be new for the wallet provider: no wallet unit of either kind, also a deleted one, may have it.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. The wallet unit keeps only its thumbprint (clientKeyThumbprint). A WIA 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 WIAs. 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 WIA request of the wallet unit from another platform.
Available options:
ios,androidExample:
"android"
Response
The new individual wallet unit. Its device data, its wallet app and lastWiaAt are null until its first WIA request. Its Wallet Unit History gets the event registered.
individualWallet Unit objectThe new individual wallet unit.