Update a wallet share

post/api/v2/{coin}/walletshare/{shareId}

Path Parameters

  • coinstringRequired
    A cryptocurrency or token ticker symbol.
    Example: btc
  • shareIdstringRequired
    Example: 59cd72485007a239fb00282ed480da1f
    Pattern: ^[0-9a-f]{32}$

Request Body

state string required
Allowed values: pendingapproval active accepted canceled rejected
Example: active
encryptedPrv string
Private key encrypted by the accepting user, used when accepting a wallet share to add to the user's keychains for using the wallet. Required when accepting a share that includes a keychain or when userMultiKeyRotationRequired is true.
pub string
Public key of the accepting user. Required for multi-user-key wallet shares (when userMultiKeyRotationRequired is true). Optional for non-multi-user-key wallets. If provided for non-multi-user-key wallets, it will be validated against the wallet's user key public key.
keyId string
Key ID to use when accepting a wallet share with keychainOverrideRequired flag set. Required when keychainOverrideRequired is true and coin is 'ofc'.
signature string
Signature for key rotation verification. Required when keychainOverrideRequired is true and coin is 'ofc'.
payload string
Payload used for key rotation verification. Required when keychainOverrideRequired is true and coin is 'ofc'.

200 Response

state string
New state of the wallet share after update
Allowed values: pendingapproval active accepted canceled rejected
Example: active
changed boolean