SetWalletBlocked: Freeze or unfreeze a wallet

Version

Description

1.0


How it works

By calling the SetWalletBlocked method, the WHITE BRAND can freeze or unfreeze 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: Freeze

1: Unfreeze

Yes

int

1

commentIndicate the reason of wallet freezing / unfreezingNo[1 :256] carTemporary blocked

Answer

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 unfrozen

true: The wallet has been frozen

true