Skip to main content
Wallet provider configuration

Update individual wallet unit configuration

PATCH/v4/config/ows/wallet-provider/individual-wallet-unit-configuration

Changes the wallet provider configuration of the individual wallet units. Send only the members to change: a member that you leave out keeps its value. The configuration of the organisation wallet units does not change.

Set the signing key here before the first Wallet Unit Attestation (WUA): the wallet provider signs only with an EC P-256 key of the organisation with the format x509 and a valid certificate chain. The save refuses a key that is not an active key of the organisation, and a key without a certificate chain. It does not refuse a key because of its certificate: signingKeyWarnings of the answer has the warnings. A WUA request fails while the key cannot sign. trustAnchor of each signing config names the certificate of the chain that the receivers list in their trust sources.

keyAttestationSigningConfig and statusListSigningConfig name separate keys for the key attestations and the Status List Tokens; null makes the key of the WUAs sign them again. walletSolution sets the wallet name, the wallet link and the certification that each new WUA names.

The lifetime of a WUA is a fixed value of the platform (wiaLifetimeSeconds of the answer), and each key attestation gets the shared status list entry of its keystore type. The device rules on Android are not members of this configuration either: a body with devicePolicy, walletUnitAttestationValidityDays, walletUnitAttestationRefreshIntervalSeconds, keyStorageStatusIndexOption, isWiaPerIssuerReuseEnabled or isKaPerIssuerReuseEnabled gets 400 (<member>: unknown field). Change the device rules with Update device policy configuration.

Authorizations

  • Authorizationstringheaderrequired

    Your API key with the prefix ApiKey: ApiKey <your-api-key>. Get an API key.

    Scope:individual-wallet-units:update

Body

application/json

The settings to change.

  • walletUnitAttestationSigningConfigobject

    The key that signs the WUAs of the individual wallet units, and the key attestations and the status lists that have no separate key. To sign, the wallet provider needs an EC P-256 key with the format x509 and a valid certificate chain.

  • keyAttestationSigningConfigobject | null

    A separate key for the key attestations, with the same rules as the key of the WUAs. null, or an object without cryptographicKeyIdentifier: the key of the WUAs signs them.

  • statusListSigningConfigobject | null

    A separate key for the Status List Tokens, with the same rules as the key of the WUAs. null, or an object without cryptographicKeyIdentifier: the key of the WUAs signs them. The existing status lists keep their key; new lists use the new key.

  • maxKeyAttestationBatchSizeinteger

    The most keys that one key attestation request of a wallet unit can attest.

    From 1 to 100.

    Example:10

  • maxWiaBatchSizeinteger

    The most WUAs that one batch WUA request of a wallet unit can get.

    From 1 to 50.

    Example:10

  • walletSolutionobject

    The wallet solution that each new WIA names. It replaces the stored solution as a whole. For the individual wallet units, walletName and walletLink are required, and null is refused (walletSolution: must be an object with walletName and walletLink; it cannot be null).

Response

application/json

The configuration after the change.

  • signingKeyWarningsstring[]

    The warnings of the signing key, for a key whose certificate preset this use does not accept (also a key with no certificate preset): one text for each rule of this use that its certificate does not fit. Always present; an empty list when there is no warning. The save is not refused.

  • globalConfigurationobject

    The configuration after the change.