GetBalances: getting all wallet balances

Version

Description

1.0

1.1Output: wallet status

How it works

Use GetBalances to get all payment accounts which balance have changed since the input date, or all the balances of payment accounts with internal ID between walletIdStart and walletIdEnd.

Request

<GetBalances xmlns="Service_mb">

<wlLogin>string</wlLogin>

<wlPass>string</wlPass>

<language>string</language>

<version>string</version>

<walletIp>string</walletIp>

<walletUa>string</walletUa>

<updateDate>string</updateDate>

<walletIdStart>string</walletIdStart>

<walletIdEnd>string</walletIdEnd>

</GetBalances>

  

    "wlLogin":"string",
    "wlPass":"string",
    "language":"string",
    "version":"string",
    "walletIp":"string",
    "walletUa":"string",
    "updateDate":"string",
 "walletIdStart":"string",
 "walletIdEnd":"string"
}

Item

Description

Mandatory

Format

Example

updateDate

Date in UTC Seconds

Leave empty if you wish to use payment account IDs instead

Depends

String

1373448225

walletIdStartFirst payment account internal ID, starting from 12.DependsString13
walletIdEndLast payment account internal ID, starting from 12.DependsString17

Answer

<?xml version="1.0" encoding="utf-8"?>
<WALLETS>
	<WALLET>
		<ID>string</ID>
		<BAL> string </BAL>
		<S> string </S> <!--since version 1.1 -->
	</WALLET>
	...
	<WALLET>
		<ID>string</ID>
		<BAL> string </BAL>
		<S> string <S> <!--since version 1.1 -->
	</WALLET>
</WALLETS> 
{  
    "WALLETS":{  
        "WALLET":[  
            {  
                "ID":"string",
                "BAL":" string ",
				"S":"string" <!--since version 1.1 --> 
            },
            ...
    }
}
Version

Item

Description

Example

>= 1.0

ID

Payment account ID

255

>= 1.0

BAL

Payment account balance

25.89

>= 1.1SStatus of the payment account.
The list of status is available in annex . 
6