GetBalances

Get All Wallet Balances

How it works

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.

XML

<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> 
   

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 --> 
            },
            ...
    }
}

Request Input Description

ItemDescriptionMandatoryFormatExample
updateDateDate in UTC SecondsDependsString1373448225
Leave empty if you wish to use payment account IDs instead
walletIdStartFirst payment account internal ID, starting from 12.DependsString13
walletIdEndLast payment account internal ID, starting from 12.DependsString17

Response Output Description

VersionItemDescriptionExample
>= 1.0IDPayment account ID255
>= 1.0BALPayment account balance25.89
>= 1.1SStatus of the payment account.6
The list of status is available in annex