Accept wallet share

post/api/v2/{coin}/walletshare/{walletId}/acceptshare

Accept a wallet share, adding the wallet to the user's list

Path Parameters

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

Request Body

userPassword string
User's password to decrypt the shared wallet (required if the wallet was shared with spend permission)
newWalletPassphrase string
New wallet passphrase for saving the shared wallet private key If not provided and the wallet was shared with spend permission, then the userPassword is used
overrideEncryptedPrv string
Encrypted private key received out-of-band

200 Response

state string
State of the share
Allowed values: pendingapproval active accepted canceled rejected
Example: active
changed boolean
Indicates if the share changed