By calling the method SetWalletBlocked, you can block or unblock a wallet.
<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>
{
"wlLogin":"string",
"wlPass":"string",
"language":"string",
"version":"string",
"walletIp":"string",
"walletUa":"string",
"wallet":"string",
"isBlocked":"string",
"comment":"string"
}
{
"SETWALLETBLOCKED":{
"WALLET":"string",
"ISBLOCKED":"string"
}
}
Item | Description | Mandatory | Format | Example |
---|
wallet | Wallet ID | | [1:256] car | 33612345678 |
isBlocked | 0: Block | Yes | int | 1 |
| 1: Unblock | | | |
comment | Indicate the reason for wallet blocking/unblocking | No | [1:256] car | Temporary blocked |
Element | Description | Example |
---|
WALLET | Wallet ID updated successfully | 33612345678 |
ISBLOCKED | false: The wallet has been unblocked | TRUE |
| true: The wallet has been blocked | |