1. Home
  2. Corporate Node
  3. SOAP requests
  4. getMoneyBalanceInfo

getMoneyBalanceInfo

An operation getMoneyBalanceInfo returns information on the account balance of CNode. The response consists the amount of money in each currency and a state of money, e.g. on the device (onDevice) or being refreshed (refreshing).

Example SOAP request:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:ns="ns1">
 <SOAP-ENV:Body  SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <ns:getMoneyBalanceInfo>
  </ns:getMoneyBalanceInfo>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Example SOAP response:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:ns="ns1">
 <SOAP-ENV:Body  SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <ns:getMoneyBalanceInfoResponse>
   <return>
    <item>
     <onDevice>
      <amount>1000</amount>
      <currency>PLN</currency>
      <colour>0</colour>
     </onDevice>
     <inVault>
      <amount>200</amount>
      <currency>PLN</currency>
      <colour>0</colour>
     </inVault>
     <incomming>
      <amount>100</amount>
      <currency>PLN</currency>
      <colour>0</colour>
     </incomming>
     <lockedOnDevice>
      <amount>0</amount>
      <currency>PLN</currency>
      <colour>0</colour>
     </lockedOnDevice>
     <incomingFromVault>
      <amount>0</amount>
      <currency>PLN</currency>
      <colour>0</colour>
     </incomingFromVault>
     <refreshing>
      <amount>0</amount>
      <currency>PLN</currency>
      <colour>0</colour>
     </refreshing>
     <inExchange>
      <amount>0</amount>
      <currency>PLN</currency>
      <colour>0</colour>
     </inExchange>
     <unpaidCommission>
      <amount>0</amount>
      <currency>PLN</currency>
      <colour>0</colour>
     </unpaidCommission>
     <commissionInProgress>
      <amount>0</amount>
      <currency>PLN</currency>
      <colour>0</colour>
     </commissionInProgress>
     <total>
      <amount>0</amount>
      <currency>PLN</currency>
      <colour>0</colour>
     </total>
    </item>
    <item>
     <onDevice>
      <amount>0</amount>
      <currency>GBP</currency>
      <colour>0</colour>
     </onDevice>
     <inVault>
      <amount>0</amount>
      <currency>GBP</currency>
      <colour>0</colour>
     </inVault>
     <incomming>
      <amount>0</amount>
      <currency>GBP</currency>
      <colour>0</colour>
     </incomming>
     <lockedOnDevice>
      <amount>0</amount>
      <currency>GBP</currency>
      <colour>0</colour>
     </lockedOnDevice>
     <incomingFromVault>
      <amount>0</amount>
      <currency>GBP</currency>
      <colour>0</colour>
     </incomingFromVault>
     <refreshing>
      <amount>0</amount>
      <currency>GBP</currency>
      <colour>0</colour>
     </refreshing>
     <inExchange>
      <amount>0</amount>
      <currency>GBP</currency>
      <colour>0</colour>
     </inExchange>
     <unpaidCommission>
      <amount>0</amount>
      <currency>GBP</currency>
      <colour>0</colour>
     </unpaidCommission>
     <commissionInProgress>
      <amount>0</amount>
      <currency>GBP</currency>
      <colour>0</colour>
     </commissionInProgress>
     <total>
      <amount>0</amount>
      <currency>GBP</currency>
      <colour>0</colour>
     </total>
    </item>
    <requestStatus>SUCCESS</requestStatus>
    <requestStatusDescription>Request succeeded.</requestStatusDescription>
   </return>
  </ns:getMoneyBalanceInfoResponse>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

The operation does not require parameters.

Reponse parameters:

NameTypeDescription
itemvuiMoneyBalanceInfoThe account balance of CNode in one available currency; it can be repeated, once for each currency
requestStatusDescriptionstringA description of the status
requestStatusstringThe status of the execution of the request
Was this article helpful to you? Yes No

How can we help?