UpdateWalletStatus : update payment account status

This functionality is available depending on your contract.

Version

Description

1.0


How it works

With method UpdateWalletStatuspayment account status can be updated or closed.

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>
  <newStatus>string</newStatus>
</UpdateWalletStatus>

JSON

{   
    "wlLogin":"string",
    "wlPass":"string",
    "language":"string",
    "version":"string",
    "walletIp":"string",
    "walletUa":"string",
    "wallet":"string",
    "newStatus":"string"
}

Item

Description

Required

Format

Example

wallet

payment account ID

Yes

[1 :256] char

33612345678

newStatus

New payment account status. Possible values:
5: payment account KYC 1 (status given right after the call to RegisterWallet)
12: payment account closed. Warning: you cannot reopen a closed payment account. Only payment account with balance = 0 can be closed.

Yes

int

6

Response

XML

<?xml version="1.0" encoding="utf-8"?>
<WALLET>
	<ID>string</ID>
</WALLET>
 

JSON

{  
    "WALLET":{  
        "ID":"string"
    }
}

Item

Description

Example

ID

ID of updated payment account

33612345678