Block or Unblock a Wallet

SetWalletBlocked

How it works

By calling the method SetWalletBlocked, you can block or unblock a wallet.

XML

<UpdateWalletStatus xmlns="Service_mb">
  <wlLogin>string</wlLogin>
  <wlPass>string</wlPass>
  <language>string</language>
  <version>string</version>
  <walletIp>string</walletIp>
  <walletUa>string</walletUa>
  <wallet>string</wallet>
  <isBlocked>string</isBlocked>
  <comment>string</comment>
</UpdateWalletStatus>
<?xml version="1.0" encoding="utf-8"?>
<SETWALLETBLOCKED>
	<WALLET>string</WALLET>
	<ISBLOCKED>false</ISBLOCKED>
</SETWALLETBLOCKED>

JSON

{   
    "wlLogin":"string",
    "wlPass":"string",
    "language":"string",
    "version":"string",
    "walletIp":"string",
    "walletUa":"string",
    "wallet":"string",
    "isBlocked":"string",
    "comment":"string"
}
{  
    "SETWALLETBLOCKED":{  
        "WALLET":"string",
        "ISBLOCKED":"string"
    }
}

Request Input Description

ItemDescriptionMandatoryFormatExample
walletWallet ID[1:256] car33612345678
isBlocked0: BlockYesint1
1: Unblock
commentIndicate the reason for wallet blocking/unblockingNo[1:256] carTemporary blocked

Response Ouput Description

ElementDescriptionExample
WALLETWallet ID updated successfully33612345678
ISBLOCKEDfalse: The wallet has been unblockedTRUE
true: The wallet has been blocked