Use GetBalances to get all payment accounts whose balance has changed since the input date or all the balances of payment accounts with internal ID between walletIdStart and walletIdEnd .
Request Response
<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>
<?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>
Request JSON
{
"wlLogin":"string",
"wlPass":"string",
"language":"string",
"version":"string",
"walletIp":"string",
"walletUa":"string",
"updateDate":"string",
"walletIdStart":"string",
"walletIdEnd":"string"
}
{
"WALLETS":{
"WALLET":[
{
"ID":"string",
"BAL":" string ",
"S":"string" {/* since version 1.1 */}
},
...
]
}
}
Item Description Mandatory Format Example updateDate Date in UTC Seconds Depends String 1373448225 Leave empty if you wish to use payment account IDs instead walletIdStart First payment account internal ID, starting from 12. Depends String 13 walletIdEnd Last payment account internal ID, starting from 12. Depends String 17
Version Item Description Example >= 1.0 ID Payment account ID 255 >= 1.0 BAL Payment account balance 25.89 >= 1.1 S Payment account status 6 The status list is available in the annexe