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